Dingo\Blueprint\Action::getResponse PHP Method

getResponse() public method

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