api/symfony/Component/HttpKernel/DependencyInjection/ServicesResetter.yaml

63 lines
1.3 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ServicesResetter
class_comment: '# * Resets provided services.
# *
# * @author Alexander M. Turek <me@derrabus.de>
# * @author Nicolas Grekas <p@tchwork.com>
# *
# * @final since Symfony 7.2'
dependencies:
- name: LazyLoadingInterface
type: class
source: ProxyManager\Proxy\LazyLoadingInterface
- name: LazyObjectInterface
type: class
source: Symfony\Component\VarExporter\LazyObjectInterface
- name: ResetInterface
type: class
source: Symfony\Contracts\Service\ResetInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: resettableServices
- name: resetMethods
comment: '# * Resets provided services.
# *
# * @author Alexander M. Turek <me@derrabus.de>
# * @author Nicolas Grekas <p@tchwork.com>
# *
# * @final since Symfony 7.2
# */
# class ServicesResetter implements ResetInterface
# {
# /**
# * @param \Traversable<string, object> $resettableServices
# * @param array<string, string|string[]> $resetMethods'
- name: reset
visibility: public
parameters: []
comment: null
traits:
- ProxyManager\Proxy\LazyLoadingInterface
- Symfony\Component\VarExporter\LazyObjectInterface
- Symfony\Contracts\Service\ResetInterface
interfaces:
- ResetInterface