| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class DisplayPrettyExceptionsASAPOptions implements OptionsInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | private $charset; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string|null |
||
| 28 | */ |
||
| 29 | private $fileLinkFormat; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string|null $charset |
||
| 33 | * @param string|null $fileLinkFormat |
||
| 34 | */ |
||
| 35 | 9 | public function __construct(?string $charset, ?string $fileLinkFormat) |
|
| 39 | 9 | } |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string|null |
||
| 43 | */ |
||
| 44 | 2 | public function getCharset(): ?string |
|
| 45 | { |
||
| 46 | 2 | return $this->charset; |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string|null |
||
| 51 | */ |
||
| 52 | 2 | public function getFileLinkFormat(): ?string |
|
| 53 | { |
||
| 54 | 2 | return $this->fileLinkFormat; |
|
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $appRoot |
||
| 59 | * @param DefaultsConfiguration $defaultsConfiguration |
||
| 60 | * |
||
| 61 | * @return DisplayPrettyExceptionsASAPOptions |
||
| 62 | */ |
||
| 63 | 3 | public static function getDefault(string $appRoot, DefaultsConfiguration $defaultsConfiguration): OptionsInterface |
|
| 66 | } |
||
| 67 | } |
||
| 68 |