ContainerControllerResolver

ContainerControllerResolver

class ContainerControllerResolver extends ControllerResolver

A controller resolver searching for a controller in a psr-11 container when using the "service:method" notation.

Methods

__construct(ContainerInterface $container, LoggerInterface $logger = null)

Constructor.

callable|false getController(Request $request)

Returns the Controller instance associated with a Request.

from 登录查看完整内容