Dingo\Blueprint\Action::getRequest PHP Method

getRequest() public method

Get the actions request annotation.
public getRequest ( ) : Dingo\Blueprint\Annotation\Request | null
return Dingo\Blueprint\Annotation\Request | null
    public function getRequest()
    {
        if ($annotation = $this->getAnnotationByType('Request')) {
            return $annotation;
        }
    }