Total Complexity | 12 |
Total Lines | 67 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | class Mailcode_Factory_CommandSets |
||
22 | { |
||
23 | private ?Mailcode_Factory_CommandSets_Set_If $if = null; |
||
24 | private ?Mailcode_Factory_CommandSets_Set_Show $show = null; |
||
25 | private ?Mailcode_Factory_CommandSets_Set_Misc $misc = null; |
||
26 | private ?Mailcode_Factory_CommandSets_Set_Set $set = null; |
||
27 | private ?Mailcode_Factory_CommandSets_Set_ElseIf $elseIf = null; |
||
28 | private ?Mailcode_Factory_CommandSets_Set_Variables $variables = null; |
||
29 | |||
30 | public function if() : Mailcode_Factory_CommandSets_Set_If |
||
31 | { |
||
32 | if(!isset($this->if)) |
||
33 | { |
||
34 | $this->if = new Mailcode_Factory_CommandSets_Set_If(); |
||
35 | } |
||
36 | |||
37 | return $this->if; |
||
|
|||
38 | } |
||
39 | |||
40 | public function elseIf() : Mailcode_Factory_CommandSets_Set_ElseIf |
||
41 | { |
||
42 | if(!isset($this->elseIf)) |
||
43 | { |
||
44 | $this->elseIf = new Mailcode_Factory_CommandSets_Set_ElseIf(); |
||
45 | } |
||
46 | |||
47 | return $this->elseIf; |
||
48 | } |
||
49 | |||
50 | public function show() : Mailcode_Factory_CommandSets_Set_Show |
||
51 | { |
||
52 | if(!isset($this->show)) |
||
53 | { |
||
54 | $this->show = new Mailcode_Factory_CommandSets_Set_Show(); |
||
55 | } |
||
56 | |||
57 | return $this->show; |
||
58 | } |
||
59 | |||
60 | public function misc() : Mailcode_Factory_CommandSets_Set_Misc |
||
68 | } |
||
69 | |||
70 | public function set() : Mailcode_Factory_CommandSets_Set_Set |
||
71 | { |
||
72 | if(!isset($this->set)) |
||
73 | { |
||
74 | $this->set = new Mailcode_Factory_CommandSets_Set_Set(); |
||
75 | } |
||
76 | |||
77 | return $this->set; |
||
78 | } |
||
79 | |||
80 | public function var() : Mailcode_Factory_CommandSets_Set_Variables |
||
88 | } |
||
89 | } |
||
90 |