original_string: public function addMethod($name, callable $method)
      {
          $this->methods[$name] = \Closure::bind($method, $this, $this);
  
          return $this;
      }
code: public function addMethod($name, callable $method)
      {
          $this->methods[$name] = \Closure::bind($method, $this, $this);
  
          return $this;
      }
code_tokens: public function addMethod ( $ name , callable $ method ) { $ this -> methods [ $ name ] = \ Closure :: bind ( $ method , $ this , $ this ) ; return $ this ; }
docstring: Add a method identified by the given name.
  
  @param  string   $name
  @param  callable $method the body of the method
  @return $this
docstring_tokens: Add a method identified by the given name .