public function setDefaults(array $defaults)
    {
        foreach ($defaults as $option => $value) {
            $this->setDefault($option, $value);
        }

        return $this;
    }
public function setDefaults(array $defaults)
    {
        foreach ($defaults as $option => $value) {
            $this->setDefault($option, $value);
        }

        return $this;
    }
public function setDefaults ( array $ defaults ) { foreach ( $ defaults as $ option => $ value ) { $ this -> setDefault ( $ option , $ value ) ; } return $ this ; }
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
Sets a list of default values .