| 1 | <?php |
||
| 16 | class ConflictingAggregateVersionException extends \RuntimeException |
||
| 17 | { |
||
| 18 | |||
| 19 | private $aggregateIdentifier; |
||
| 20 | private $expectedVersion; |
||
| 21 | private $actualVersion; |
||
| 22 | |||
| 23 | 3 | public function __construct($id, $expectedVersion, $actualVersion) |
|
| 32 | |||
| 33 | 2 | public function getAggregateIdentifier() |
|
| 37 | |||
| 38 | 3 | public function getExpectedVersion() |
|
| 42 | |||
| 43 | 3 | public function getActualVersion() |
|
| 47 | |||
| 48 | |||
| 49 | } |
||
| 50 |