[DependencyInjection] added missing methods in ContainerInterface
This commit is contained in:
parent
ff34f7d281
commit
0219ec3dbc
@ -57,6 +57,34 @@ interface ContainerInterface
|
||||
*/
|
||||
function has($id);
|
||||
|
||||
/**
|
||||
* Gets a parameter.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
*
|
||||
* @return mixed The parameter value
|
||||
*
|
||||
* @throws \InvalidArgumentException if the parameter is not defined
|
||||
*/
|
||||
function getParameter($name);
|
||||
|
||||
/**
|
||||
* Checks if a parameter exists.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
*
|
||||
* @return Boolean The presence of parameter in container
|
||||
*/
|
||||
function hasParameter($name);
|
||||
|
||||
/**
|
||||
* Sets a parameter.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
* @param mixed $parameters The parameter value
|
||||
*/
|
||||
function setParameter($name, $value);
|
||||
|
||||
/**
|
||||
* Enters the given scope
|
||||
*
|
||||
|
Reference in New Issue
Block a user