Symfony\Component\DependencyInjection\DefinitionDecorator::getArgument
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.
Signature
public function getArgument(integer
$index )
Parameters
$index
— integer
Returns
- mixed
- The argument value
Errors/Exceptions
-
OutOfBoundsException
- When the argument does not exist