0 follower

Interface Yiisoft\Router\UrlMatcherInterface

Implemented byYiisoft\Router\Debug\UrlMatcherInterfaceProxy

UrlMatcherInterface allows finding a matching route given a PSR-8 server request. It is preferred to type-hint against it in case you need to match URL.

Public Methods

Hide inherited methods

Method Description Defined By
match() Yiisoft\Router\UrlMatcherInterface

Method Details

Hide inherited methods

match() public abstract method

public abstract Yiisoft\Router\MatchingResult match ( \Psr\Http\Message\ServerRequestInterface $request )
$request \Psr\Http\Message\ServerRequestInterface

                public function match(ServerRequestInterface $request): MatchingResult;