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