Beispiel #1
0
 /**
  * @param $roomId string
  * @param $roomVersion int
  * @param $name string
  * @param $seatCapacity int
  */
 public function __construct($roomId, $roomVersion, $name, $seatCapacity)
 {
     parent::__construct($roomVersion);
     $this->roomId = $roomId;
     $this->name = $name;
     $this->seatCapacity = $seatCapacity;
 }
Beispiel #2
0
 public function __construct($aggregateVersion, $roomId, $newName)
 {
     parent::__construct($aggregateVersion);
     $this->roomId = $roomId;
     $this->newName = $newName;
 }
Beispiel #3
0
 public function __construct($aggregateVersion, $roomId)
 {
     parent::__construct($aggregateVersion);
     $this->roomId = $roomId;
 }