original_string: public function providesMethod($name)
      {
          if (method_exists($this, $name)) {
              return true;
          }
          if ($this->text instanceof Generic) {
              return $this->text->providesMethod($name);
          }
          return false;
      }
code: public function providesMethod($name)
      {
          if (method_exists($this, $name)) {
              return true;
          }
          if ($this->text instanceof Generic) {
              return $this->text->providesMethod($name);
          }
          return false;
      }
code_tokens: public function providesMethod ( $ name ) { if ( method_exists ( $ this , $ name ) ) { return true ; } if ( $ this -> text instanceof Generic ) { return $ this -> text -> providesMethod ( $ name ) ; } return false ; }
docstring: Returns if the given method is implemented by one of the decorators.
  
  @param string $name Method name.
  
  @return bool
docstring_tokens: Returns if the given method is implemented by one of the decorators .