Liip\RMT\Information\InformationCollector::getRequest PHP 메소드

getRequest() 공개 메소드

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