phpbb_mock_container_builder::getParameter PHP Method

getParameter() public method

Gets a parameter.
public getParameter ( string $name ) : mixed
$name string The parameter name
return mixed The parameter value
    public function getParameter($name)
    {
        if ($this->hasParameter($name)) {
            return $this->parameters[$name];
        }
        throw new Exception('Could not find parameter: ' . $name);
    }