| Total Complexity | 6 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | class DefaultsConfiguration extends AbstractConfiguration |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | 20 | public function getCacheDirectoryPath(): string |
|
| 22 | { |
||
| 23 | 20 | return $this->processedConfiguration['cache_directory_path']; |
|
| 24 | } |
||
| 25 | |||
| 26 | 20 | public function getLogger(): array |
|
| 27 | { |
||
| 28 | 20 | return $this->processedConfiguration['logger']; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return string|null |
||
| 33 | */ |
||
| 34 | 21 | public function getCharset(): ?string |
|
| 35 | { |
||
| 36 | 21 | return $this->processedConfiguration['charset']; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string|null |
||
| 41 | */ |
||
| 42 | 21 | public function getFileLinkFormat(): ?string |
|
| 43 | { |
||
| 44 | 21 | return $this->processedConfiguration['file_link_format']; |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | 20 | public function serialize(): ?string |
|
| 54 | )); |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritdoc} |
||
| 59 | */ |
||
| 60 | 17 | public function unserialize($serialized): void |
|
| 63 | 17 | } |
|
| 64 | } |
||
| 65 |