Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class SchemaLocator |
||
11 | { |
||
12 | /** |
||
13 | * @var FileLocatorInterface |
||
14 | */ |
||
15 | protected $fileLocator; |
||
16 | |||
17 | /** |
||
18 | * @param FileLocatorInterface $fileLocator |
||
19 | */ |
||
20 | 23 | public function __construct(FileLocatorInterface $fileLocator) |
|
21 | { |
||
22 | 23 | $this->fileLocator = $fileLocator; |
|
23 | 23 | } |
|
24 | |||
25 | /** |
||
26 | * @param string $schemaLocation |
||
27 | * |
||
28 | * @return bool |
||
29 | */ |
||
30 | 19 | public function schemaFileExists(string $schemaLocation): bool |
|
38 | } |
||
39 | } |
||
41 |