[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ChildDefinition:: (7 methods):
  __construct()
  getParent()
  setParent()
  getArgument()
  replaceArgument()
  setAutoconfigured()
  setInstanceofConditionals()


Class: ChildDefinition  - X-Ref

This definition extends another definition.

__construct($parent)   X-Ref

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

getParent()   X-Ref
Returns the Definition to inherit from.

return: string

setParent($parent)   X-Ref
Sets the Definition to inherit from.

param: string $parent
return: $this

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|string $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|string $index
param: mixed      $value
return: $this

setAutoconfigured($autoconfigured)   X-Ref


setInstanceofConditionals(array $instanceof)   X-Ref




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1