[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/dependency-injection/Dumper/ -> PhpDumper.php (summary)

(no description)

File Size: 2045 lines (77 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PhpDumper:: (62 methods):

Class: PhpDumper  - X-Ref

PhpDumper dumps a service container as a PHP class.

__construct(ContainerBuilder $container)   X-Ref

setProxyDumper(ProxyDumper $proxyDumper)   X-Ref
Sets the dumper to be used when dumping proxies in the generated container.

dump(array $options = [])   X-Ref
Dumps the service container as a PHP class.

Available options:

* class:      The class name
* base_class: The base class name
* namespace:  The class namespace
* as_files:   To split the container in several files

return: string|array A PHP class representing the service container or an array of PHP files if the "as_files" option is set

getProxyDumper()   X-Ref
Retrieves the currently set proxy dumper or instantiates one.

return: ProxyDumper

analyzeCircularReferences($sourceId, array $edges, &$checkedNodes, &$currentPath = [], $byConstructor = true)   X-Ref
No description

connectCircularReferences($sourceId, &$currentPath, $byConstructor, &$subPath = [])   X-Ref
No description

addCircularReferences($id, $currentPath, $byConstructor)   X-Ref
No description

collectLineage($class, array &$lineage)   X-Ref
No description

generateProxyClasses()   X-Ref
No description

addServiceInclude($cId, Definition $definition)   X-Ref
Generates the require_once statement for service includes.

return: string

addServiceInstance($id, Definition $definition, $isSimpleInstance)   X-Ref
Generates the service instance.

param: string $id
param: bool   $isSimpleInstance
return: string

isTrivialInstance(Definition $definition)   X-Ref
Checks if the definition is a trivial instance.

return: bool

addServiceMethodCalls(Definition $definition, $variableName = 'instance')   X-Ref
Adds method calls to a service definition.

param: string $variableName
return: string

addServiceProperties(Definition $definition, $variableName = 'instance')   X-Ref
No description

addServiceConfigurator(Definition $definition, $variableName = 'instance')   X-Ref
Adds configurator definition.

param: string $variableName
return: string

addService($id, Definition $definition, &$file = null)   X-Ref
Adds a service.

param: string $id
param: string &$file
return: string

addInlineVariables($id, Definition $definition, array $arguments, $forConstructor)   X-Ref
No description

addInlineReference($id, Definition $definition, $targetId, $forConstructor)   X-Ref
No description

addInlineService($id, Definition $definition, Definition $inlineDef = null, $forConstructor = true)   X-Ref
No description

addServices()   X-Ref
Adds multiple services.

return: string

generateServiceFiles()   X-Ref
No description

addNewInstance(Definition $definition, $return, $instantiation, $id)   X-Ref
No description

startClass($class, $baseClass, $baseClassWithNamespace)   X-Ref
Adds the class headers.

param: string $class                  Class name
param: string $baseClass              The name of the base class
param: string $baseClassWithNamespace Fully qualified base class name
return: string

__construct()   X-Ref
No description

compile()   X-Ref
No description

isCompiled()   X-Ref
No description

isFrozen()   X-Ref
No description

load(\$file, \$lazyLoad = true)   X-Ref
No description

createProxy(\$class, \Closure \$factory)   X-Ref
No description

addNormalizedIds()   X-Ref
Adds the normalizedIds property definition.

return: string

addSyntheticIds()   X-Ref
Adds the syntheticIds definition.

return: string

addRemovedIds()   X-Ref
Adds the removedIds definition.

return: string

getRemovedIds()   X-Ref
No description

addMethodMap()   X-Ref
Adds the methodMap property definition.

return: string

addFileMap()   X-Ref
Adds the fileMap property definition.

return: string

addPrivateServices()   X-Ref
Adds the privates property definition.

return: string

addAliases()   X-Ref
Adds the aliases property definition.

return: string

addInlineRequires()   X-Ref
No description

addDefaultParametersMethod()   X-Ref
Adds default parameters method.

return: string

getParameter($name)   X-Ref
No description

hasParameter($name)   X-Ref
No description

setParameter($name, $value)   X-Ref
No description

getParameterBag()   X-Ref
No description

getDynamicParameter(\$name)   X-Ref
No description

normalizeParameterName($name)   X-Ref
No description

getDefaultParameters()   X-Ref
No description

exportParameters(array $parameters, $path = '', $indent = 12)   X-Ref
Exports parameters.

param: string $path
param: int    $indent
return: string

endClass()   X-Ref
Ends the class definition.

return: string

wrapServiceConditionals($value, $code)   X-Ref
Wraps the service conditionals.

param: string $value
param: string $code
return: string

getServiceConditionals($value)   X-Ref
Get the conditions to execute for conditional services.

param: string $value
return: string|null

getDefinitionsFromArguments(array $arguments, \SplObjectStorage $definitions = null, array &$calls = [], $byConstructor = null)   X-Ref
No description

dumpValue($value, $interpolate = true)   X-Ref
Dumps values.

param: mixed $value
param: bool  $interpolate
return: string

dumpLiteralClass($class)   X-Ref
Dumps a string to a literal (aka PHP Code) class value.

param: string $class
return: string

dumpParameter($name)   X-Ref
Dumps a parameter.

param: string $name
return: string

getServiceCall($id, Reference $reference = null)   X-Ref
Gets a service call.

param: string    $id
param: Reference $reference
return: string

initializeMethodNamesMap($class)   X-Ref
Initializes the method names map to avoid conflicts with the Container methods.

param: string $class the container base class

generateMethodName($id)   X-Ref
Convert a service id to a valid PHP method name.

param: string $id
return: string

getNextVariableName()   X-Ref
Returns the next name to use.

return: string

getExpressionLanguage()   X-Ref
No description

isHotPath(Definition $definition)   X-Ref
No description

export($value)   X-Ref
No description

doExport($value, $resolveEnv = false)   X-Ref
No description

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1