eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter::match PHP Метод

match() публичный Метод

Not supported. Please use matchRequest() instead.
public match ( $pathinfo )
$pathinfo
    public function match($pathinfo)
    {
        throw new \RuntimeException("The UrlAliasRouter doesn't support the match() method. Please use matchRequest() instead.");
    }

Usage Example

 /**
  * @covers eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter::__construct
  * @covers eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter::match
  *
  * @expectedException \RuntimeException
  */
 public function testMatch()
 {
     $this->router->match('/foo');
 }