Total Complexity | 10 |
Total Lines | 75 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Mailcode_Factory_CommandSets |
||
22 | { |
||
23 | /** |
||
24 | * @var Mailcode_Factory_CommandSets_Set_If |
||
25 | */ |
||
26 | private $if; |
||
27 | |||
28 | /** |
||
29 | * @var Mailcode_Factory_CommandSets_Set_Show |
||
30 | */ |
||
31 | private $show; |
||
32 | |||
33 | /** |
||
34 | * @var Mailcode_Factory_CommandSets_Set_Misc |
||
35 | */ |
||
36 | private $misc; |
||
37 | |||
38 | /** |
||
39 | * @var Mailcode_Factory_CommandSets_Set_Set |
||
40 | */ |
||
41 | private $set; |
||
42 | |||
43 | /** |
||
44 | * @var Mailcode_Factory_CommandSets_Set_ElseIf |
||
45 | */ |
||
46 | private $elseIf; |
||
47 | |||
48 | public function if() : Mailcode_Factory_CommandSets_Set_If |
||
49 | { |
||
50 | if(!isset($this->if)) |
||
51 | { |
||
52 | $this->if = new Mailcode_Factory_CommandSets_Set_If(); |
||
53 | } |
||
54 | |||
55 | return $this->if; |
||
56 | } |
||
57 | |||
58 | public function elseIf() : Mailcode_Factory_CommandSets_Set_ElseIf |
||
59 | { |
||
60 | if(!isset($this->elseIf)) |
||
61 | { |
||
62 | $this->elseIf = new Mailcode_Factory_CommandSets_Set_ElseIf(); |
||
63 | } |
||
64 | |||
65 | return $this->elseIf; |
||
66 | } |
||
67 | |||
68 | public function show() : Mailcode_Factory_CommandSets_Set_Show |
||
69 | { |
||
70 | if(!isset($this->show)) |
||
71 | { |
||
72 | $this->show = new Mailcode_Factory_CommandSets_Set_Show(); |
||
73 | } |
||
74 | |||
75 | return $this->show; |
||
76 | } |
||
77 | |||
78 | public function misc() : Mailcode_Factory_CommandSets_Set_Misc |
||
86 | } |
||
87 | |||
88 | public function set() : Mailcode_Factory_CommandSets_Set_Set |
||
96 | } |
||
97 | } |
||
98 |