1 | <?php |
||
13 | final class ChainedLoader implements LoaderInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var LoaderInterface |
||
17 | */ |
||
18 | private $firstLoader; |
||
19 | |||
20 | /** |
||
21 | * @var LoaderInterface |
||
22 | */ |
||
23 | private $secondLoader; |
||
24 | |||
25 | /** |
||
26 | * @param \League\JsonReference\LoaderInterface $firstLoader |
||
27 | * @param \League\JsonReference\LoaderInterface $secondLoader |
||
28 | */ |
||
29 | 2 | public function __construct(LoaderInterface $firstLoader, LoaderInterface $secondLoader) |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 2 | public function load($path) |
|
46 | } |
||
47 |