| 1 | <?php |
||
| 20 | class InMemorySnapshotStore implements SnapshotStoreInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var ArrayHashMap |
||
| 24 | */ |
||
| 25 | protected $store; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * InMemorySnapshot constructor. |
||
| 29 | */ |
||
| 30 | public function __construct() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function persist(Snapshot $snapshot) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function remove($snapshotName) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function load($snapshotName) |
||
| 58 | } |
||
| 59 |