public function reverseMatch($siteAccessName) { $reverseMap = $this->getReverseMap($siteAccessName); if (!isset($reverseMap[$siteAccessName])) { return null; } $this->setMapKey($reverseMap[$siteAccessName]); return $this; }
public function reverseMatch($siteAccessName) { $matcher = parent::reverseMatch($siteAccessName); if ($matcher instanceof self) { $matcher->getRequest()->setPort($matcher->getMapKey()); } return $matcher; }