| 1 | <?php |
||
| 25 | class JsonSchema implements JsonSchemaAnnotationInterface |
||
| 26 | { |
||
| 27 | private const JSON_FILE_EXTENSION = '.json'; |
||
| 28 | |||
| 29 | /** @var string */ |
||
| 30 | private $jsonSchemaName; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param mixed[] $options |
||
| 34 | */ |
||
| 35 | public function __construct(array $options) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function getJsonSchemaFilename(): string |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param mixed[] $options |
||
| 60 | * |
||
| 61 | * @throws LogicException |
||
| 62 | * |
||
| 63 | * @return array |
||
| 64 | */ |
||
| 65 | private function assertJsonSchemaFileIsSet(array $options): array |
||
| 73 | } |
||
| 74 |