database/migrations/2014_11_16_114113_create_options.php
private function getDefaultValueForGeneral($key)
    {
        switch ($key) {
            case 'site_name':
                $value = config('app.name');
                break;
            case 'site_desc':
                $value = "GZERO-CMS Content management system.";
                break;
            default:
                $value = config('gzero.' . $key);
                return $value;
        }
        return $value;
    }
private function getDefaultValueForGeneral($key)
    {
        switch ($key) {
            case 'site_name':
                $value = config('app.name');
                break;
            case 'site_desc':
                $value = "GZERO-CMS Content management system.";
                break;
            default:
                $value = config('gzero.' . $key);
                return $value;
        }
        return $value;
    }
private function getDefaultValueForGeneral ( $ key ) { switch ( $ key ) { case 'site_name' : $ value = config ( 'app.name' ) ; break ; case 'site_desc' : $ value = "GZERO-CMS Content management system." ; break ; default : $ value = config ( 'gzero.' . $ key ) ; return $ value ; } return $ value ; }
It generates default value for general options

@param $key

@return mixed|string
It generates default value for general options