예제 #1
0
파일: City.php 프로젝트: hd-deman/elcodi
 /**
  * Return if a city is equal than current
  *
  * @param CityInterface $city City to be compared with
  *
  * @return boolean Cities are the same
  */
 public function equals(CityInterface $city)
 {
     return $city->getId() === $this->getId();
 }