public static function get_option($name) { $option = Option::whereName($name)->get(['value']); return $option[0]->value; }