| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Font |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | private $family; |
||
| 9 | /** @var bool */ |
||
| 10 | private $isBold; |
||
| 11 | /** @var bool */ |
||
| 12 | private $isItalic; |
||
| 13 | /** @var string */ |
||
| 14 | private $file; |
||
| 15 | |||
| 16 | public function __construct(string $family, bool $isBold, bool $isItalic, string $file) |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getFamily() : string |
||
| 25 | { |
||
| 26 | return $this->family; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function isBold() : bool |
||
| 32 | } |
||
| 33 | |||
| 34 | public function isItalic() : bool |
||
| 35 | { |
||
| 36 | return $this->isItalic; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getFile() : string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |