Skip to content

CallableRequestHandler

  • Full name: \Qubus\Routing\Handlers\CallableRequestHandler
  • This class is marked as final and can't be subclassed
  • This class implements: \Psr\Http\Server\RequestHandlerInterface
  • This class is a Final class

Properties

callback

private callable $callback

Methods

__construct

public __construct(callable $callback): mixed

Parameters:

Parameter Type Description
$callback callable

handle

{@inheritDoc}

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

Parameters:

Parameter Type Description
$request \Psr\Http\Message\ServerRequestInterface


Automatically generated on 2025-10-13