TraceableControllerResolver
class TraceableControllerResolver implements ControllerResolverInterface
TraceableControllerResolver.
Methods
mixed|Boolean
array
Details
at line line 33
__construct(ControllerResolverInterface $resolver, Stopwatch $stopwatch)
Constructor.
at line line 42
mixed|Boolean
getController(Request $request)
Returns the Controller instance associated with a Request.
As several resolvers can exist for a single application, a resolver must return false when it is not able to determine the controller.
The resolver must only throw an exception when it should be able to load controller but cannot because of some errors made by the developer.
at line line 56
array
getArguments(Request $request, mixed $controller)
Returns the arguments to pass to the controller.