public function isTheSameAs(User $anotherUserObject)
 {
     return (int) $this->getId() == (int) $anotherUserObject->getId();
 }