public function isUpdateResource(): bool
    {
        return $this->isMethod('patch') &&
            $this->getRoute()->isResource() &&
            $this->getRoute()->isNotRelationship();
    }
public function isUpdateResource(): bool
    {
        return $this->isMethod('patch') &&
            $this->getRoute()->isResource() &&
            $this->getRoute()->isNotRelationship();
    }
public function isUpdateResource ( ) : bool { return $ this -> isMethod ( 'patch' ) && $ this -> getRoute ( ) -> isResource ( ) && $ this -> getRoute ( ) -> isNotRelationship ( ) ; }
Is this an update resource request?

E.g. `PATCH /posts/1`

@return bool
Is this an update resource request?