src/Terranet/Options/Drivers/DatabaseOptionsDriver.php
public function find($name, $default = null)
    {
        foreach ($this->fetchAll() as $option) {
            if ($option->key == $name) {
                return $option->value;
            }
        }

        return $default;
    }
public function find($name, $default = null)
    {
        foreach ($this->fetchAll() as $option) {
            if ($option->key == $name) {
                return $option->value;
            }
        }

        return $default;
    }
public function find ( $ name , $ default = null ) { foreach ( $ this -> fetchAll ( ) as $ option ) { if ( $ option -> key == $ name ) { return $ option -> value ; } } return $ default ; }
Find an option by name

@param $name
@param $default
@return mixed
Find an option by name