src/BaseOptions.php
public function setOptions(array $options)
    {
        //Validate options
        $this->validateOptions($options);

        //Set options
        foreach ($options as $option => $value)
            $this->$option = $value;

        return $this;
    }
public function setOptions(array $options)
    {
        //Validate options
        $this->validateOptions($options);

        //Set options
        foreach ($options as $option => $value)
            $this->$option = $value;

        return $this;
    }
Set the following options in the class

@param array $options  Options with values to be set

@return Mookofe\Tail\BaseOptions