[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

DefinitionDecorator:: (17 methods):
  __construct()
  getParent()
  getChanges()
  setClass()
  setFactory()
  setFactoryClass()
  setFactoryMethod()
  setFactoryService()
  setConfigurator()
  setFile()
  setPublic()
  setLazy()
  setDecoratedService()
  setDeprecated()
  setAutowired()
  getArgument()
  replaceArgument()


Class: DefinitionDecorator  - X-Ref

This definition decorates another definition.

__construct($parent)   X-Ref

param: string $parent The id of Definition instance to decorate

getParent()   X-Ref
Returns the Definition being decorated.

return: string

getChanges()   X-Ref
Returns all changes tracked for the Definition object.

return: array An array of changes for this Definition

setClass($class)   X-Ref
{@inheritdoc}


setFactory($callable)   X-Ref
{@inheritdoc}


setFactoryClass($class)   X-Ref
{@inheritdoc}


setFactoryMethod($method)   X-Ref
{@inheritdoc}


setFactoryService($service, $triggerDeprecationError = true)   X-Ref
{@inheritdoc}


setConfigurator($callable)   X-Ref
{@inheritdoc}


setFile($file)   X-Ref
{@inheritdoc}


setPublic($boolean)   X-Ref
{@inheritdoc}


setLazy($boolean)   X-Ref
{@inheritdoc}


setDecoratedService($id, $renamedId = null, $priority = 0)   X-Ref
{@inheritdoc}


setDeprecated($boolean = true, $template = null)   X-Ref
{@inheritdoc}


setAutowired($autowired)   X-Ref
{@inheritdoc}


getArgument($index)   X-Ref
Gets an argument to pass to the service constructor/factory method.

If replaceArgument() has been used to replace an argument, this method
will return the replacement value.

param: int $index
return: mixed The argument value

replaceArgument($index, $value)   X-Ref
You should always use this method when overwriting existing arguments
of the parent definition.

If you directly call setArguments() keep in mind that you must follow
certain conventions when you want to overwrite the arguments of the
parent definition, otherwise your arguments will only be appended.

param: int   $index
param: mixed $value
return: $this



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1