original_string: public function setDefaults(array $defaults)
      {
          foreach ($defaults as $option => $value) {
              $this->setDefault($option, $value);
          }
  
          return $this;
      }
code: public function setDefaults(array $defaults)
      {
          foreach ($defaults as $option => $value) {
              $this->setDefault($option, $value);
          }
  
          return $this;
      }
code_tokens: public function setDefaults ( array $ defaults ) { foreach ( $ defaults as $ option => $ value ) { $ this -> setDefault ( $ option , $ value ) ; } return $ this ; }
docstring: Sets a list of default values.
  
  @param array $defaults The default values to set
  
  @return $this
  
  @throws AccessException If called from a lazy option or normalizer
docstring_tokens: Sets a list of default values .