| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | final class TokenizerConfig extends InjectableConfig |
||
| 20 | { |
||
| 21 | public const CONFIG = 'tokenizer'; |
||
| 22 | |||
| 23 | /** @var array */ |
||
| 24 | protected $config = [ |
||
| 25 | 'directories' => [], |
||
| 26 | 'exclude' => [], |
||
| 27 | 'scopes' => [], |
||
| 28 | ]; |
||
| 29 | |||
| 30 | public function getDirectories(): array |
||
| 31 | { |
||
| 32 | return $this->config['directories'] ?? [getcwd()]; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getExcludes(): array |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return array{directories: array<string>, exclude: array<string>} |
||
| 42 | */ |
||
| 43 | public function getScope(string $scope): array |
||
| 54 |