1 | <?php |
||
19 | class SchemaLocator |
||
20 | { |
||
21 | /** |
||
22 | * Container is used for lazy resolution for ClassesInterface. |
||
23 | * |
||
24 | * @var ContainerInterface |
||
25 | */ |
||
26 | protected $container; |
||
27 | |||
28 | /** |
||
29 | * @param ContainerInterface $container |
||
30 | */ |
||
31 | public function __construct(ContainerInterface $container) |
||
35 | |||
36 | /** |
||
37 | * Locate all available document schemas in a project. |
||
38 | * |
||
39 | * @return SchemaInterface[] |
||
40 | */ |
||
41 | public function locateSchemas(): array |
||
66 | } |