| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | final class JsonLoader implements LoaderInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * The options used for decoding the JSON. |
||
| 28 | */ |
||
| 29 | private const DECODE_OPTIONS = JSON_BIGINT_AS_STRING; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function supports(string $file): bool |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function load(string $file): stdClass |
||
| 56 |