public function getParameter($name)
	{
		if(array_key_exists($name, $this->parameters))
		{
			return $this->parameters[$name];
		}
		
		if(func_num_args() > 1)
		{
			return func_get_arg(1);
		}
		
		throw new ContextParamNotFoundException(sprintf('Container parameter "%s" was not found', $name));
	}
public function getParameter($name)
	{
		if(array_key_exists($name, $this->parameters))
		{
			return $this->parameters[$name];
		}
		
		if(func_num_args() > 1)
		{
			return func_get_arg(1);
		}
		
		throw new ContextParamNotFoundException(sprintf('Container parameter "%s" was not found', $name));
	}
public function getParameter ( $ name ) { if ( array_key_exists ( $ name , $ this -> parameters ) ) { return $ this -> parameters [ $ name ] ; } if ( func_num_args ( ) > 1 ) { return func_get_arg ( 1 ) ; } throw new ContextParamNotFoundException ( sprintf ( 'Container parameter "%s" was not found' , $ name ) ) ; }
Get the value of the given parameter.

@param string $name
@param mixed $default
@return mixed

@throws ContextParamNotFoundException When the parameter has not been registered and no default value is given.
Get the value of the given parameter .