Пример #1
0
 /**
  * @param Address        $remoteAddress
  * @param ContactAddress $address
  *
  * @return bool
  */
 protected function isRegionChanged($remoteAddress, $address)
 {
     return $remoteAddress->getRegion() == $address->getRegion() || ($remoteAddress->getRegion() ? $remoteAddress->getRegion()->getCombinedCode() : null) === ($address->getRegion() ? $address->getRegion()->getCombinedCode() : null);
 }