1 | <?php |
||
16 | class Core |
||
17 | { |
||
18 | /** @var string Configuration environment */ |
||
19 | protected $environment = 'prod'; |
||
20 | |||
21 | /** @var Object Logger object */ |
||
22 | protected $logger; |
||
23 | |||
24 | /** @var \samson\core\Core Core pointer */ |
||
25 | protected $core; |
||
26 | |||
27 | /** |
||
28 | * @param \samson\core\Core $core Core pointer |
||
29 | * @param string $environment Configuration environment |
||
30 | * @param object $logger Logger object |
||
31 | */ |
||
32 | public function __construct($core, $environment = 'prod', $logger = null) |
||
38 | |||
39 | /** |
||
40 | * Method prepare core instance removing all unnecessary loaded modules |
||
41 | * from it, and configuring it. |
||
42 | * @return string Base64 encoded serialized core object instance |
||
43 | */ |
||
44 | public function compress() |
||
72 | } |
||
73 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.