original_string: public function setAll(array $values)
      {
          if ($this->getResource()) {
              if ($this->useLocalResource) {
                  $this->localResource = $values;
              } else {
                  $GLOBALS[$this->getResource()] = $values;
              }
          }
          return $this;
      }
code: public function setAll(array $values)
      {
          if ($this->getResource()) {
              if ($this->useLocalResource) {
                  $this->localResource = $values;
              } else {
                  $GLOBALS[$this->getResource()] = $values;
              }
          }
          return $this;
      }
code_tokens: public function setAll ( array $ values ) { if ( $ this -> getResource ( ) ) { if ( $ this -> useLocalResource ) { $ this -> localResource = $ values ; } else { $ GLOBALS [ $ this -> getResource ( ) ] = $ values ; } } return $ this ; }
docstring: Set entire array onto the resource
  
  @param array $values
  
  @return $this
docstring_tokens: Set entire array onto the resource