Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | class PathInjector implements PathInjectorInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var \Twig_LoaderInterface |
||
12 | */ |
||
13 | private $loader; |
||
14 | |||
15 | /** |
||
16 | * PathInjector constructor. |
||
17 | * |
||
18 | * @param \Twig_LoaderInterface $loader |
||
19 | */ |
||
20 | public function __construct(\Twig_LoaderInterface $loader) |
||
21 | { |
||
22 | $this->loader = $loader; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param string $path |
||
27 | */ |
||
28 | public function addPath(string $path): void |
||
32 | } |
||
33 | } |
||
34 | } |