104 lines
2.3 KiB
YAML
104 lines
2.3 KiB
YAML
name: ProxyHelper
|
|
class_comment: null
|
|
dependencies:
|
|
- name: LogicException
|
|
type: class
|
|
source: Symfony\Component\VarExporter\Exception\LogicException
|
|
- name: Hydrator
|
|
type: class
|
|
source: Symfony\Component\VarExporter\Internal\Hydrator
|
|
- name: LazyObjectRegistry
|
|
type: class
|
|
source: Symfony\Component\VarExporter\Internal\LazyObjectRegistry
|
|
- name: LazyGhostTrait
|
|
type: class
|
|
source: \Symfony\Component\VarExporter\LazyGhostTrait
|
|
- name: LazyProxyTrait
|
|
type: class
|
|
source: \Symfony\Component\VarExporter\LazyProxyTrait
|
|
properties: []
|
|
methods:
|
|
- name: generateLazyGhost
|
|
visibility: public
|
|
parameters:
|
|
- name: class
|
|
comment: '# * @author Nicolas Grekas <p@tchwork.com>
|
|
|
|
# */
|
|
|
|
# final class ProxyHelper
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Helps generate lazy-loading ghost objects.
|
|
|
|
# *
|
|
|
|
# * @throws LogicException When the class is incompatible with ghost objects'
|
|
- name: generateLazyProxy
|
|
visibility: public
|
|
parameters:
|
|
- name: class
|
|
- name: interfaces
|
|
default: '[]'
|
|
comment: '# * Helps generate lazy-loading virtual proxies.
|
|
|
|
# *
|
|
|
|
# * @param \ReflectionClass[] $interfaces
|
|
|
|
# *
|
|
|
|
# * @throws LogicException When the class is incompatible with virtual proxies'
|
|
- name: __unserialize
|
|
visibility: public
|
|
parameters:
|
|
- name: \$data
|
|
comment: null
|
|
- name: exportSignature
|
|
visibility: public
|
|
parameters:
|
|
- name: function
|
|
- name: withParameterTypes
|
|
default: 'true'
|
|
- name: '&$args'
|
|
default: 'null'
|
|
comment: null
|
|
- name: exportType
|
|
visibility: public
|
|
parameters:
|
|
- name: owner
|
|
- name: noBuiltin
|
|
default: 'false'
|
|
- name: type
|
|
default: 'null'
|
|
comment: null
|
|
- name: exportPropertyScopes
|
|
visibility: private
|
|
parameters:
|
|
- name: parent
|
|
comment: null
|
|
- name: exportDefault
|
|
visibility: private
|
|
parameters:
|
|
- name: param
|
|
- name: namespace
|
|
comment: null
|
|
- name: exportSymbol
|
|
visibility: private
|
|
parameters:
|
|
- name: symbol
|
|
- name: mightBeRootConst
|
|
- name: namespace
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\VarExporter\Exception\LogicException
|
|
- Symfony\Component\VarExporter\Internal\Hydrator
|
|
- Symfony\Component\VarExporter\Internal\LazyObjectRegistry
|
|
- \Symfony\Component\VarExporter\LazyGhostTrait
|
|
- \Symfony\Component\VarExporter\LazyProxyTrait
|
|
interfaces:
|
|
- \Symfony\Component\VarExporter\LazyObjectInterface
|
|
- \\
|