Symfony\Component\DependencyInjection\Definition::getArgument
Gets an argument to pass to the service constructor/factory method.
Signature
public function getArgument(integer
$index )
Parameters
$index
— integer
Returns
- mixed
- The argument value
Errors/Exceptions
-
OutOfBoundsException
- When the argument does not exist