/**
  * @param AggregateRoot $aggregateRoot
  *
  * @return mixed
  */
 public final function sameIdentityAs(AggregateRoot $aggregateRoot)
 {
     if (!$aggregateRoot instanceof static) {
         return false;
     }
     return $this->identifier()->sameValueAs($aggregateRoot->identifier());
 }