| 1 | <?php namespace HSkrasek\OpenAPI\Loaders; |
||
| 10 | class ChainedDecoderFileLoader implements LoaderInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var DecoderInterface |
||
| 14 | */ |
||
| 15 | private $jsonDecoder; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var DecoderInterface |
||
| 19 | */ |
||
| 20 | private $yamlDecoder; |
||
| 21 | |||
| 22 | public function __construct(DecoderInterface $jsonDecoder = null, DecoderInterface $yamlDecoder = null) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritDoc |
||
| 30 | */ |
||
| 31 | public function load($path) |
||
| 47 | } |
||
| 48 |