src/OptionsTrait.php
public function getOptionOrDefault($name)
    {
        return isset($this->options[$name]) ? $this->options[$name] : $this->getDefault($name);
    }
public function getOptionOrDefault($name)
    {
        return isset($this->options[$name]) ? $this->options[$name] : $this->getDefault($name);
    }
public function getOptionOrDefault ( $ name ) { return isset ( $ this -> options [ $ name ] ) ? $ this -> options [ $ name ] : $ this -> getDefault ( $ name ) ; }
Get an option value by name or a default option with the same name.

@param $name
@return mixed
Get an option value by name or a default option with the same name .