Liip\RMT\Information\InformationCollector::getRequest PHP Méthode

getRequest() public méthode

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