◆ __construct()
Create a new controller invoker.
- Parameters
-
ContainerInterface | $container | |
InvokerInterface | $invoker | |
- Parameters
-
$container | The DI container |
$invoker | The invoker |
◆ __invoke()
Invoke a route callable.
- Parameters
-
callable | $callable | The callable to invoke using the strategy. |
ServerRequestInterface | $request | The request object. |
ResponseInterface | $response | The response object. |
| array<string,string> | $routeArguments The route's placeholder arguments |
- Return values
-
ResponseInterface | The response from the callable. |
Implements Slim\Interfaces\InvocationStrategyInterface.
The documentation for this class was generated from the following file:
- lib/classes/router/controller_invoker.php