original_string: protected function isReflectionMethodEloquentRelation(ReflectionMethod $method)
      {
          // Check if there is a docblock cms tag
          // this may either 'ignore' the method, or confirm it as a 'relation'
  
          $cmsTags = $this->getCmsDocBlockTags($method);
  
          if (array_get($cmsTags, 'relation')) {
              return true;
          }
  
          if (array_get($cmsTags, 'ignore')) {
              return false;
          }
  
          // analyze the method to see whether it is a relation
          $body = $this->getMethodBody($method);
  
          return (bool) $this->findRelationMethodCall($body);
      }
code: protected function isReflectionMethodEloquentRelation(ReflectionMethod $method)
      {
          // Check if there is a docblock cms tag
          // this may either 'ignore' the method, or confirm it as a 'relation'
  
          $cmsTags = $this->getCmsDocBlockTags($method);
  
          if (array_get($cmsTags, 'relation')) {
              return true;
          }
  
          if (array_get($cmsTags, 'ignore')) {
              return false;
          }
  
          // analyze the method to see whether it is a relation
          $body = $this->getMethodBody($method);
  
          return (bool) $this->findRelationMethodCall($body);
      }
code_tokens: protected function isReflectionMethodEloquentRelation ( ReflectionMethod $ method ) { // Check if there is a docblock cms tag // this may either 'ignore' the method, or confirm it as a 'relation' $ cmsTags = $ this -> getCmsDocBlockTags ( $ method ) ; if ( array_get ( $ cmsTags , 'relation' ) ) { return true ; } if ( array_get ( $ cmsTags , 'ignore' ) ) { return false ; } // analyze the method to see whether it is a relation $ body = $ this -> getMethodBody ( $ method ) ; return ( bool ) $ this -> findRelationMethodCall ( $ body ) ; }
docstring: Determines whether a given method is a typical relation method
  
  @param ReflectionMethod $method
  @return bool
docstring_tokens: Determines whether a given method is a typical relation method