Interface Yiisoft\Router\UrlMatcherInterface
| Implemented by | Yiisoft\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
| Method | Description | Defined By |
|---|---|---|
| match() | Yiisoft\Router\UrlMatcherInterface |
Method Details
| public abstract Yiisoft\Router\MatchingResult match ( \Psr\Http\Message\ServerRequestInterface $request ) | ||
| $request | \Psr\Http\Message\ServerRequestInterface | |
public function match(ServerRequestInterface $request): MatchingResult;
Signup or Login in order to comment.