| 1 | <?php |
||
| 9 | class Container |
||
| 10 | { |
||
| 11 | const SERVICES_FILE = 'services.xml'; |
||
| 12 | const CONFIG_PATH = '/../../config/'; |
||
| 13 | /** |
||
| 14 | * @var ContainerBuilder |
||
| 15 | */ |
||
| 16 | private $container; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Container constructor. |
||
| 20 | */ |
||
| 21 | public function __construct() |
||
| 26 | |||
| 27 | private function getConfigServices() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $serviceName |
||
| 35 | * |
||
| 36 | * @return object |
||
| 37 | */ |
||
| 38 | public function get($serviceName) |
||
| 42 | } |
||
| 43 |