| 1 | <?php |
||
| 20 | class ServiceContainer extends ContainerBuilder |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Service container instance |
||
| 24 | * |
||
| 25 | * @var \JonnyW\PhantomJs\DependencyInjection\ServiceContainer |
||
| 26 | * @access private |
||
| 27 | */ |
||
| 28 | private static $instance; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get singleton instance |
||
| 32 | * |
||
| 33 | * @access public |
||
| 34 | * @return ServiceContainer |
||
| 35 | */ |
||
| 36 | public static function getInstance() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Load service container. |
||
| 49 | * |
||
| 50 | * @access public |
||
| 51 | * @return void |
||
| 52 | */ |
||
| 53 | public function load() |
||
| 62 | } |
||
| 63 |