| 1 | <?php |
||
| 22 | class AggregateRootStub extends AggregateRoot implements EventSourcedAggregateRoot |
||
| 23 | { |
||
| 24 | private $id; |
||
| 25 | private $property; |
||
| 26 | |||
| 27 | public function __construct(Id $id) |
||
| 31 | |||
| 32 | public function id() : Id |
||
| 36 | |||
| 37 | public function property() : string |
||
| 41 | |||
| 42 | public function foo() |
||
| 46 | |||
| 47 | public function bar() |
||
| 52 | |||
| 53 | protected function applyEventSourcingEventStub() |
||
| 57 | |||
| 58 | public static function reconstitute(Stream $stream) : self |
||
| 68 | } |
||
| 69 |