[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

PhpDumper:: (62 methods):
  __construct()
  setProxyDumper()
  dump()
  getProxyDumper()
  analyzeCircularReferences()
  connectCircularReferences()
  addCircularReferences()
  collectLineage()
  generateProxyClasses()
  addServiceInclude()
  addServiceInstance()
  isTrivialInstance()
  addServiceMethodCalls()
  addServiceProperties()
  addServiceConfigurator()
  addService()
  addInlineVariables()
  addInlineReference()
  addInlineService()
  addServices()
  generateServiceFiles()
  addNewInstance()
  startClass()
  __construct()
  compile()
  isCompiled()
  isFrozen()
  load()
  createProxy()
  addNormalizedIds()
  addSyntheticIds()
  addRemovedIds()
  getRemovedIds()
  addMethodMap()
  addFileMap()
  addPrivateServices()
  addAliases()
  addInlineRequires()
  addDefaultParametersMethod()
  getParameter()
  hasParameter()
  setParameter()
  getParameterBag()
  getDynamicParameter()
  normalizeParameterName()
  getDefaultParameters()
  exportParameters()
  endClass()
  wrapServiceConditionals()
  getServiceConditionals()
  getDefinitionsFromArguments()
  dumpValue()
  dumpLiteralClass()
  dumpParameter()
  getServiceCall()
  initializeMethodNamesMap()
  generateMethodName()
  getNextVariableName()
  getExpressionLanguage()
  isHotPath()
  export()
  doExport()


Class: PhpDumper  - X-Ref

PhpDumper dumps a service container as a PHP class.

__construct(ContainerBuilder $container)   X-Ref
{@inheritdoc}


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.

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

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.

return: string
param: string $variableName

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

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

return: string
param: string $variableName

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

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

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.

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

__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.

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

endClass()   X-Ref
Ends the class definition.

return: string

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

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

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

return: string|null
param: string $value

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

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

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

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

return: string
param: string $class

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

return: string
param: string $name

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

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

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.

return: string
param: string $id

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: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1