0 follower

Final Class Yiisoft\Yii\Http\Handler\UnhandledRequestHandler

InheritanceYiisoft\Yii\Http\Handler\UnhandledRequestHandler
ImplementsPsr\Http\Server\RequestHandlerInterface

Handler that throws a RuntimeException when invoked.

Used as a default fallback handler when none is provided.

Method Details

Hide inherited methods

handle() public method

public \Psr\Http\Message\ResponseInterface handle ( \Psr\Http\Message\ServerRequestInterface $request )
$request \Psr\Http\Message\ServerRequestInterface
throws RuntimeException

                public function handle(ServerRequestInterface $request): ResponseInterface
{
    throw new RuntimeException('No response was generated.');
}