| 1 | <?php |
||
| 15 | class Context |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | public $namespace; |
||
| 19 | |||
| 20 | /** @var Context */ |
||
| 21 | public $parent; |
||
| 22 | |||
| 23 | /** @var Module */ |
||
| 24 | public $module; |
||
| 25 | |||
| 26 | /** @var mixed */ |
||
| 27 | public $data; |
||
| 28 | |||
| 29 | /** @var array */ |
||
| 30 | public $services = array(); |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param Context|null $parent |
||
| 34 | * @param Module|null $module |
||
| 35 | */ |
||
| 36 | public function __construct( $parent = null, $module = null ) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param mixed $data |
||
| 49 | */ |
||
| 50 | public function pushData( $data ) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return null |
||
| 57 | */ |
||
| 58 | public function getInfo() |
||
| 62 | } |
||
| 63 |