/**
  * @param mixed $other
  * @return bool
  */
 public function equals($other)
 {
     return $other instanceof static && $this->uuid->equals($other->uuid);
 }
Beispiel #2
0
 /**
  * @param TaskListId $taskListId
  * @return bool
  */
 public function equals(TaskListId $taskListId)
 {
     return $this->nodeName()->equals($taskListId->nodeName()) && $this->processId()->equals($taskListId->processId()) && $this->uuid->equals($taskListId->uuid);
 }
Beispiel #3
0
 /**
  * @param EquatableInterface $other
  *
  * @return bool
  */
 public function equals(EquatableInterface $other)
 {
     return $other instanceof AbstractId && $this->value->equals($other->getUuid());
 }
Beispiel #4
0
 /**
  * @test
  */
 public function it_has_a_uuid()
 {
     $this->assertTrue($this->uuid->equals($this->command->uuid()));
 }
Beispiel #5
0
 public function equals(StatementId $id)
 {
     return $this->uuid->equals($id->uuid);
 }
Beispiel #6
0
 /**
  * @test
  */
 function it_has_a_uuid()
 {
     $this->assertTrue($this->uuid->equals($this->domainEvent->uuid()));
 }
Beispiel #7
0
 /**
  * @param ProcessId $processId
  * @return bool
  */
 public function equals(ProcessId $processId)
 {
     return $this->uuid->equals($processId->uuid);
 }