/** */ public function __construct() { parent::__construct(); }
/** * @param Uuid $id */ public function __construct(Uuid $id) { $this->id = $id; parent::__construct(); }
/** * @param AggregateRoot $aggregate * @param integer $expectedPlayHead * @throws ConcurrencyException */ public function store(AggregateRoot $aggregate, $expectedPlayHead = -1) { $this->storage->save($aggregate->getId(), $aggregate->getUncommittedChanges(), $expectedPlayHead); }
/** * @param Uuid $id */ public function __construct(Uuid $id) { $this->id = $id; $this->available = true; parent::__construct(); }