1 | <?php |
||
10 | abstract class Service |
||
11 | { |
||
12 | protected static $workingDirectory; |
||
13 | protected static $parameters; |
||
14 | |||
15 | 30 | public static function getParameter($key) |
|
19 | |||
20 | 310 | public static function setParameter($key, $value) |
|
24 | |||
25 | 165 | public static function getWorkingDirectory() |
|
29 | |||
30 | public static function setWorkingDirectory($directory) |
||
34 | } |
||
35 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.