api/symfony/Component/DependencyInjection/Loader/ClosureLoader.yaml

45 lines
944 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
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: []