original_string: public function hasMethodCall($method)
      {
          foreach ($this->calls as $call) {
              if ($call[0] === $method) {
                  return true;
              }
          }
  
          return false;
      }
code: public function hasMethodCall($method)
      {
          foreach ($this->calls as $call) {
              if ($call[0] === $method) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function hasMethodCall ( $ method ) { foreach ( $ this -> calls as $ call ) { if ( $ call [ 0 ] === $ method ) { return true ; } } return false ; }
docstring: Check if the current definition has a given method to call after service initialization.
  
  @param string $method The method name to search for
  
  @return bool
docstring_tokens: Check if the current definition has a given method to call after service initialization .