platform/api/symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.yaml
2024-09-02 10:44:11 -07:00

56 lines
1.2 KiB
YAML

name: DumperInterface
class_comment: null
dependencies:
- name: Definition
type: class
source: Symfony\Component\DependencyInjection\Definition
properties: []
methods:
- name: isProxyCandidate
visibility: public
parameters:
- name: definition
- name: '&$asGhostObject'
default: 'null'
- name: id
default: 'null'
comment: '# * Lazy proxy dumper capable of generating the instantiation logic PHP
code for proxied services.
# *
# * @author Marco Pivetta <ocramius@gmail.com>
# */
# interface DumperInterface
# {
# /**
# * Inspects whether the given definitions should produce proxy instantiation
logic in the dumped container.
# *
# * @param bool|null &$asGhostObject Set to true after the call if the proxy is
a ghost object'
- name: getProxyFactoryCode
visibility: public
parameters:
- name: definition
- name: id
- name: factoryCode
comment: '# * Generates the code to be used to instantiate a proxy in the dumped
factory code.'
- name: getProxyCode
visibility: public
parameters:
- name: definition
- name: id
default: 'null'
comment: '# * Generates the code for the lazy proxy.'
traits:
- Symfony\Component\DependencyInjection\Definition
interfaces: []