Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class FriendlyInitializer implements ContextInitializer |
||
11 | { |
||
12 | protected $config; |
||
13 | protected $container; |
||
14 | |||
15 | public function __construct($config, ContainerInterface $container) |
||
16 | { |
||
17 | $this->config = $config; |
||
18 | $this->container = $container; |
||
19 | } |
||
20 | |||
21 | public function supports($context) |
||
22 | { |
||
23 | return $context instanceof Context; |
||
24 | } |
||
25 | |||
26 | public function initializeContext(ContextInterface $context) |
||
34 | } |
||
35 | } |
||
36 |