コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function isIdentityEqualTo(Entity $entity) : bool
 {
     return $entity instanceof TicketType && $entity->getTicketTypeId()->isEqualTo($this->ticketTypeId);
 }