1 | <?php |
||
7 | class Options implements OptionsInterface |
||
8 | { |
||
9 | private $db; |
||
10 | |||
11 | 13 | public function setDb(string $name): OptionsInterface |
|
20 | |||
21 | /** |
||
22 | * Specify data which should be serialized to JSON |
||
23 | * @link http://php.net/manual/en/jsonserializable.jsonserialize.php |
||
24 | * @return mixed data which can be serialized by <b>json_encode</b>, |
||
25 | * which is a value of any type other than a resource. |
||
26 | * @since 5.4.0 |
||
27 | */ |
||
28 | 13 | public function jsonSerialize() |
|
34 | } |
||
35 |