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