| 1 | <?php | ||
| 10 | final class FileGetContentsWebLoader implements LoaderInterface | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * @var string | ||
| 14 | */ | ||
| 15 | private $prefix; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @var JsonDecoderInterface | ||
| 19 | */ | ||
| 20 | private $jsonDecoder; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @param string $prefix | ||
| 24 | * @param JsonDecoderInterface $jsonDecoder | ||
| 25 | */ | ||
| 26 | 6 | public function __construct($prefix, JsonDecoderInterface $jsonDecoder = null) | |
| 31 | |||
| 32 | /** | ||
| 33 |      * {@inheritdoc} | ||
| 34 | */ | ||
| 35 | 6 | public function load($path) | |
| 50 | } | ||
| 51 |