1 | <?php |
||
9 | class FakeAdapter implements AdapterInterface |
||
10 | { |
||
11 | /** |
||
12 | * Inmemory storage |
||
13 | * |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $data = []; |
||
17 | |||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | 1 | public function set(string $name, $object): void |
|
25 | |||
26 | /** |
||
27 | * @inheritdoc |
||
28 | */ |
||
29 | 1 | public function has(string $name): bool |
|
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | 1 | public function get(string $name) |
|
41 | } |
||
42 |