1 | <?php |
||
21 | abstract class AbstractServer |
||
22 | { |
||
23 | /** |
||
24 | * The Platform object |
||
25 | * @var \JaegerApp\Platforms\AbstractPlatform |
||
26 | */ |
||
27 | protected $platform = null; |
||
28 | |||
29 | /** |
||
30 | * The REST object |
||
31 | * @var \JaegerApp\Rest |
||
32 | */ |
||
33 | protected $rest = null; |
||
34 | |||
35 | /** |
||
36 | * The API version we're using |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $version = null; |
||
40 | |||
41 | /** |
||
42 | * Set it up |
||
43 | * @param \JaegerApp\Platforms\AbstractPlatform $platform |
||
44 | * @param \JaegerApp\BackupPro\Rest $rest |
||
45 | */ |
||
46 | public function __construct(\JaegerApp\Platforms\AbstractPlatform $platform, \JaegerApp\Rest $rest) |
||
51 | |||
52 | /** |
||
53 | * Returns an instance of the Hmac object |
||
54 | * @return \JaegerApp\Rest\Hmac |
||
55 | */ |
||
56 | public function getHmac() |
||
60 | |||
61 | /** |
||
62 | * Creates the version of the API we're expected to use |
||
63 | * @param string $version_key |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getVersion($version_key) |
||
86 | |||
87 | /** |
||
88 | * Outlines the Server routes |
||
89 | * @return void |
||
90 | */ |
||
91 | abstract public function run(array $routes = array()); |
||
92 | } |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.