| Total Complexity | 6 |
| Total Lines | 69 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Config extends ConfigurationOption |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var boolean |
||
| 17 | */ |
||
| 18 | protected $secureFileManipulation = false; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $htaccess = true; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $securityKey = ''; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getSecurityKey(): string |
||
| 34 | { |
||
| 35 | return $this->securityKey; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $securityKey |
||
| 40 | * @return Config |
||
| 41 | */ |
||
| 42 | public function setSecurityKey(string $securityKey): Config |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return bool |
||
| 50 | */ |
||
| 51 | public function getHtaccess(): bool |
||
| 52 | { |
||
| 53 | return $this->htaccess; |
||
|
|
|||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param bool $htaccess |
||
| 58 | * @return Config |
||
| 59 | */ |
||
| 60 | public function setHtaccess(bool $htaccess): self |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return bool |
||
| 68 | */ |
||
| 69 | public function isSecureFileManipulation(): bool |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @param bool $secureFileManipulation |
||
| 76 | * @return self |
||
| 77 | */ |
||
| 78 | public function setSecureFileManipulation(bool $secureFileManipulation): self |
||
| 82 | } |
||
| 83 | } |