Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | class ClosureLoader extends Loader |
||
31 | { |
||
32 | private AbstractContainer $container; |
||
33 | |||
34 | 4 | public function __construct(AbstractContainer $container) |
|
35 | { |
||
36 | 4 | parent::__construct(); |
|
37 | |||
38 | 4 | $this->container = $container; |
|
39 | 4 | } |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 2 | public function load($resource, string $type = null): void |
|
47 | 2 | } |
|
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | 2 | public function supports($resource, string $type = null) |
|
57 |