44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: ContainerControllerResolver
|
|
class_comment: '# * A controller resolver searching for a controller in a psr-11 container
|
|
when using the "service::method" notation.
|
|
|
|
# *
|
|
|
|
# * @author Fabien Potencier <fabien@symfony.com>
|
|
|
|
# * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>'
|
|
dependencies:
|
|
- name: ContainerInterface
|
|
type: class
|
|
source: Psr\Container\ContainerInterface
|
|
- name: LoggerInterface
|
|
type: class
|
|
source: Psr\Log\LoggerInterface
|
|
- name: Container
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\Container
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: container
|
|
- name: logger
|
|
default: 'null'
|
|
comment: null
|
|
- name: instantiateController
|
|
visibility: protected
|
|
parameters:
|
|
- name: class
|
|
comment: null
|
|
- name: throwExceptionIfControllerWasRemoved
|
|
visibility: private
|
|
parameters:
|
|
- name: controller
|
|
- name: previous
|
|
comment: null
|
|
traits:
|
|
- Psr\Container\ContainerInterface
|
|
- Psr\Log\LoggerInterface
|
|
- Symfony\Component\DependencyInjection\Container
|
|
interfaces: []
|