44 lines
944 B
YAML
44 lines
944 B
YAML
name: ClosureLoader
|
|
class_comment: '# * ClosureLoader loads service definitions from a PHP closure.
|
|
|
|
# *
|
|
|
|
# * The Closure has access to the container as its first argument.
|
|
|
|
# *
|
|
|
|
# * @author Fabien Potencier <fabien@symfony.com>'
|
|
dependencies:
|
|
- name: Loader
|
|
type: class
|
|
source: Symfony\Component\Config\Loader\Loader
|
|
- name: ContainerBuilder
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\ContainerBuilder
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: container
|
|
- name: env
|
|
default: 'null'
|
|
comment: null
|
|
- name: load
|
|
visibility: public
|
|
parameters:
|
|
- name: resource
|
|
- name: type
|
|
default: 'null'
|
|
comment: null
|
|
- name: supports
|
|
visibility: public
|
|
parameters:
|
|
- name: resource
|
|
- name: type
|
|
default: 'null'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Config\Loader\Loader
|
|
- Symfony\Component\DependencyInjection\ContainerBuilder
|
|
interfaces: []
|