src/DateTime.php
public function setFormatOptions(array $options)
    {
        foreach ($options as $name => $handler) {
            $this->setFormatOption($name, $handler);
        }
        return $this;
    }
public function setFormatOptions(array $options)
    {
        foreach ($options as $name => $handler) {
            $this->setFormatOption($name, $handler);
        }
        return $this;
    }
public function setFormatOptions ( array $ options ) { foreach ( $ options as $ name => $ handler ) { $ this -> setFormatOption ( $ name , $ handler ) ; } return $ this ; }
Adds a format options.
@param array $options
@return $this
Adds a format options .