File manager - Edit - /home/autoph/public_html/projects/api/vendor/endroid/qr-code/src/Label/Font/Font.php
Back
<?php declare(strict_types=1); namespace Endroid\QrCode\Label\Font; final class Font implements FontInterface { private string $path; private int $size; public function __construct(string $path, int $size = 16) { $this->validatePath($path); $this->path = $path; $this->size = $size; } private function validatePath(string $path): void { if (!file_exists($path)) { throw new \Exception(sprintf('Invalid font path "%s"', $path)); } } public function getPath(): string { return $this->path; } public function getSize(): int { return $this->size; } }
| ver. 1.4 |
.
| PHP 8.0.30 | Generation time: 0.11 |
proxy
|
phpinfo
|
Settings