Symfony\Component\DependencyInjection\ContainerInterface::getParameter
Gets a parameter.
Signature
public function getParameter(string
$name )
Parameters
$name
— string- The parameter name
Returns
- mixed
- The parameter value
Errors/Exceptions
-
InvalidArgumentException
- if the parameter is not defined