Total Complexity | 5 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class DataProviderConfig extends AbstractConfig |
||
12 | { |
||
13 | public const DATA_PROVIDER_PATHS = 'dataprovider.data.provider.paths'; |
||
14 | |||
15 | public const DATA_PROVIDER_GENERATED_PATH = 'dataprovider.data.provider.generated.path'; |
||
16 | |||
17 | public const DATA_PROVIDER_NAMESPACE = 'dataprovider.data.provider.namespace'; |
||
18 | |||
19 | public const FILE_PATTERN = 'dataprovider.file.pattern'; |
||
20 | |||
21 | public const DATA_PROVIDER_EXTENDS = 'dataprovider.data.provider.extends'; |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | 10 | public function getDataProviderExtends(): string |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return array |
||
33 | */ |
||
34 | 10 | public function getPaths(): array |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | 10 | public function getGeneratedPath(): string |
|
43 | { |
||
44 | 10 | return $this->get(self::DATA_PROVIDER_GENERATED_PATH, './src/Generated'); |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 10 | public function getDataProviderNamespace(): string |
|
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | 10 | public function getFilePattern(): string |
|
63 |