| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | trait CacheDirectoryPathConfigurationTrait |
||
| 21 | { |
||
| 22 | 19 | private static function addCacheDirectoryPathConfigurationNode(NodeBuilder $nodeBuilder, ?string $defaultCacheDirectoryPath): NodeBuilder |
|
| 23 | { |
||
| 24 | return $nodeBuilder |
||
|
|
|||
| 25 | 19 | ->scalarNode('cache_directory_path') |
|
| 26 | 19 | ->cannotBeEmpty() |
|
| 27 | 19 | ->defaultValue($defaultCacheDirectoryPath) |
|
| 28 | 19 | ->end(); |
|
| 29 | } |
||
| 30 | |||
| 31 | 19 | private static function addCacheDirectoryPathConfigurationNodeFromDefaultsConfiguration(NodeBuilder $nodeBuilder, DefaultsConfigurationModel $defaultsConfiguration): NodeBuilder |
|
| 34 | } |
||
| 35 | |||
| 36 | 2 | private static function getConfiguredCacheDirectoryPath(ActionConfiguration $actionConfiguration): string |
|
| 43 |