eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\HostElement::match PHP Method

match() public method

Returns matching Siteaccess.
public match ( ) : string | false
return string | false Siteaccess matched or false.
    public function match()
    {
        $elements = $this->getHostElements();
        return isset($elements[$this->elementNumber - 1]) ? $elements[$this->elementNumber - 1] : false;
    }