/** * @param CallForPapers $other * * @return bool */ private function nameLike(CallForPapers $other) { $lowerName = strtolower($this->getName()); $lowerOtherName = strtolower($other->getName()); return $lowerName == $lowerOtherName; }