1 | <?php namespace Arcanedev\Settings\Stores; |
||
12 | class MemoryStore extends Store implements StoreContract |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Constructor |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * Make the memory store instance. |
||
20 | * |
||
21 | * @param array $data |
||
22 | */ |
||
23 | 45 | public function __construct(array $data = null) |
|
29 | |||
30 | /* ------------------------------------------------------------------------------------------------ |
||
31 | | Other Functions |
||
32 | | ------------------------------------------------------------------------------------------------ |
||
33 | */ |
||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 42 | protected function read() |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | * |
||
45 | * @codeCoverageIgnore |
||
46 | */ |
||
47 | protected function write(array $data) |
||
51 | } |
||
52 |