| 1 | <?php |
||
| 6 | class ExtensionConfiguration implements SingletonInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var array |
||
| 10 | */ |
||
| 11 | private $configuration; |
||
| 12 | |||
| 13 | 4 | /** |
|
| 14 | * ExtensionConfiguration constructor. |
||
| 15 | 4 | */ |
|
| 16 | 4 | public function __construct() |
|
| 20 | |||
| 21 | 2 | /** |
|
| 22 | * @return boolean |
||
| 23 | 2 | */ |
|
| 24 | public function isDebug() |
||
| 28 | |||
| 29 | 2 | /** |
|
| 30 | * @return array |
||
| 31 | 2 | */ |
|
| 32 | 2 | public function getHosts() |
|
| 42 | |||
| 43 | /** |
||
| 44 | 4 | * @return integer |
|
| 45 | */ |
||
| 46 | 4 | public function getDefaultTimeout() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @return integer |
||
| 53 | */ |
||
| 54 | public function getBanTimeout() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param string $key |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | private function get($key) |
||
| 67 | } |
||
| 68 |