1 | <?php |
||
16 | class Provider implements ProviderInterface |
||
17 | { |
||
18 | const CONTAINER = 'Pimple\Container'; |
||
19 | |||
20 | /** |
||
21 | * @var \Pimple\ServiceProviderInterface[] |
||
22 | */ |
||
23 | protected $providers; |
||
24 | |||
25 | /** |
||
26 | * Initializes the provider instance. |
||
27 | * |
||
28 | * @param \Pimple\ServiceProviderInterface[] $providers |
||
29 | */ |
||
30 | 3 | public function __construct($providers) |
|
34 | |||
35 | /** |
||
36 | * Registers the bindings in the container. |
||
37 | * |
||
38 | * @param \Zapheus\Container\WritableInterface $container |
||
39 | * @return \Zapheus\Container\ContainerInterface |
||
40 | */ |
||
41 | 3 | public function register(WritableInterface $container) |
|
61 | |||
62 | /** |
||
63 | * Returns a Pimple container with default parameters. |
||
64 | * |
||
65 | * @param \Pimple\Container $pimple |
||
66 | * @return \Pimple\Container |
||
67 | */ |
||
68 | 3 | protected function defaults(PimpleContainer $pimple) |
|
82 | } |
||
83 |