1 | <?php |
||
23 | abstract class AbstractExample |
||
24 | { |
||
25 | /** |
||
26 | * @return mixed |
||
27 | */ |
||
28 | abstract function demonstrate(); |
||
29 | |||
30 | /** |
||
31 | * @return BlockGeneratorFactory |
||
32 | */ |
||
33 | final protected function getBlockGeneratorFactory() |
||
37 | |||
38 | /** |
||
39 | * @return ClassGeneratorFactory |
||
40 | */ |
||
41 | final protected function getClassGeneratorFactory() |
||
45 | |||
46 | /** |
||
47 | * @return ConstantGeneratorFactory |
||
48 | */ |
||
49 | final protected function getConstantGeneratorFactory() |
||
53 | |||
54 | /** |
||
55 | * @return DocumentationGeneratorFactory |
||
56 | */ |
||
57 | final protected function getDocumentationGeneratorFactory() |
||
61 | |||
62 | /** |
||
63 | * @return FileGeneratorFactory |
||
64 | */ |
||
65 | final protected function getFileGeneratorFactory() |
||
69 | |||
70 | /** |
||
71 | * @return Indention |
||
72 | */ |
||
73 | final protected function getIndention() |
||
77 | |||
78 | /** |
||
79 | * @return LineGeneratorFactory |
||
80 | */ |
||
81 | final protected function getLineGeneratorFactory() |
||
85 | |||
86 | /** |
||
87 | * @return MethodGeneratorFactory |
||
88 | */ |
||
89 | final protected function getMethodGeneratorFactory() |
||
93 | |||
94 | /** |
||
95 | * @return PropertyGeneratorFactory |
||
96 | */ |
||
97 | final protected function getPropertyGeneratorFactory() |
||
101 | |||
102 | /** |
||
103 | * @return InterfaceGeneratorFactory |
||
104 | */ |
||
105 | final protected function getInterfaceGeneratorFactory() |
||
109 | |||
110 | /** |
||
111 | * @return TraitGeneratorFactory |
||
112 | */ |
||
113 | final protected function getTraitGeneratorFactory() |
||
117 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.