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