1 | <?php |
||
16 | class IlluminateProvider implements ProviderInterface |
||
17 | { |
||
18 | const CONTAINER = 'Illuminate\Container\Container'; |
||
19 | |||
20 | const LOADER = 'Illuminate\Config\LoaderInterface'; |
||
21 | |||
22 | /** |
||
23 | * @var string[] |
||
24 | */ |
||
25 | protected $providers; |
||
26 | |||
27 | /** |
||
28 | * Initializes the provider instance. |
||
29 | * |
||
30 | * @param string[] $providers |
||
31 | */ |
||
32 | 3 | public function __construct(array $providers) |
|
36 | |||
37 | /** |
||
38 | * Registers the bindings in the container. |
||
39 | * |
||
40 | * @param \Zapheus\Container\WritableInterface $container |
||
41 | * @return \Zapheus\Container\ContainerInterface |
||
42 | */ |
||
43 | 3 | public function register(WritableInterface $container) |
|
61 | |||
62 | /** |
||
63 | * Returns a \Illuminate\Container\Container instance. |
||
64 | * |
||
65 | * @param \Zapheus\Container\WritableInterface $container |
||
66 | * @return \Illuminate\Container\Container |
||
67 | */ |
||
68 | 3 | protected function container(WritableInterface $container) |
|
82 | } |
||
83 |