Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class WordTreeOptions extends ChartOptions |
||
13 | { |
||
14 | use ColorsTrait; |
||
15 | |||
16 | use FontNameTrait; |
||
17 | |||
18 | /** |
||
19 | * The upper limit for font size of displayed words. |
||
20 | * |
||
21 | * @var int |
||
22 | */ |
||
23 | protected $maxFontSize; |
||
24 | |||
25 | /** |
||
26 | * @var WordTree |
||
27 | */ |
||
28 | protected $wordtree; |
||
29 | |||
30 | public function __construct() |
||
31 | { |
||
32 | parent::__construct(); |
||
33 | |||
34 | $this->wordtree = new WordTree(); |
||
35 | } |
||
36 | |||
37 | public function getWordtree(): WordTree |
||
38 | { |
||
39 | return $this->wordtree; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return $this |
||
44 | */ |
||
45 | public function setMaxFontSize(int $maxFontSize) |
||
50 | } |
||
51 | } |
||
52 |