| 1 | <?php |
||
| 13 | class PhpFileStorage extends FileStorage |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string settings file suffix. Defaults to '.php'. |
||
| 17 | */ |
||
| 18 | public $fileSuffix = '.php'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $key |
||
| 22 | * @return mixed |
||
| 23 | */ |
||
| 24 | 3 | public function getValue($key) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $key |
||
| 35 | * @param mixed $value |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | 3 | public function setValue($key, $value) |
|
| 52 | } |
If you suppress an error, we recommend checking for the error condition explicitly: