Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Font extends StyleContainer |
||
15 | { |
||
16 | /** |
||
17 | * @return string |
||
18 | */ |
||
19 | public function getName() : string |
||
20 | { |
||
21 | return 'font'; |
||
22 | } |
||
23 | |||
24 | public function style() : FontStyle |
||
25 | { |
||
26 | return new FontStyle($this->styles, $this->collection); |
||
27 | } |
||
28 | |||
29 | public function family() : FontFamily |
||
30 | { |
||
31 | return new FontFamily($this->styles, $this->collection); |
||
32 | } |
||
33 | |||
34 | public function weight() : FontWeight |
||
37 | } |
||
38 | |||
39 | public function size() : FontSize |
||
42 | } |
||
43 | } |
||
44 |