1 | <?php |
||
5 | class Monitor |
||
6 | { |
||
7 | /** |
||
8 | * @var TestConfiguration|null |
||
9 | */ |
||
10 | private $configuration = null; |
||
11 | |||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $results = array(); |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $state = array(); |
||
21 | |||
22 | /** |
||
23 | * @return void |
||
|
|||
24 | */ |
||
25 | public function __construct() |
||
29 | |||
30 | /** |
||
31 | * @return void |
||
32 | */ |
||
33 | public function invokeTestSuites() |
||
41 | |||
42 | /** |
||
43 | * @return TestConfiguration |
||
44 | */ |
||
45 | public function getConfiguration() |
||
49 | |||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | public function getResults() |
||
57 | |||
58 | /** |
||
59 | * @return integer |
||
60 | */ |
||
61 | public function getState() |
||
66 | |||
67 | /** |
||
68 | * @return void |
||
69 | */ |
||
70 | private function invokeModuleCheck() |
||
76 | |||
77 | /** |
||
78 | * @return void |
||
79 | */ |
||
80 | private function invokeConfigurationCheck() |
||
86 | |||
87 | /** |
||
88 | * @return void |
||
89 | */ |
||
90 | private function invokeStoreCheck() |
||
96 | |||
97 | /** |
||
98 | * @return void |
||
99 | */ |
||
100 | private function invokeAuthSourceCheck() |
||
106 | |||
107 | /** |
||
108 | * @return void |
||
109 | */ |
||
110 | private function invokeMetadataCheck() |
||
116 | } |
||
117 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.