1 | <?php |
||
20 | class InMemoryVersionStore implements VersionStoreInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var ArrayHashMap |
||
24 | */ |
||
25 | protected $store; |
||
26 | |||
27 | /** |
||
28 | * InMemoryVersionStore constructor. |
||
29 | */ |
||
30 | public function __construct() |
||
34 | |||
35 | /** |
||
36 | * @param string $aggregateClassName |
||
37 | * @param int $version |
||
38 | */ |
||
39 | public function persist($aggregateClassName, $version) |
||
43 | |||
44 | /** |
||
45 | * @param string $aggregateClassName |
||
46 | * |
||
47 | * @return int |
||
48 | */ |
||
49 | public function load($aggregateClassName) |
||
58 | } |
||
59 |