Liip\RMT\Information\InformationCollector::getRequest PHP Method

getRequest() public method

public getRequest ( string $name ) : InformationRequest
$name string
return InformationRequest
    public function getRequest($name)
    {
        if (!$this->hasRequest($name)) {
            throw new \InvalidArgumentException("There is no information request named [{$name}]");
        }
        return $this->requests[$name];
    }