public function loadConf($name)
    {
        $options = config('laravel-menu.settings');
        $name = strtolower($name);

        if (isset($options[$name]) && is_array($options[$name])) {
            return array_merge($options['default'], $options[$name]);
        }

        return $options['default'];
    }
public function loadConf($name)
    {
        $options = config('laravel-menu.settings');
        $name = strtolower($name);

        if (isset($options[$name]) && is_array($options[$name])) {
            return array_merge($options['default'], $options[$name]);
        }

        return $options['default'];
    }
public function loadConf ( $ name ) { $ options = config ( 'laravel-menu.settings' ) ; $ name = strtolower ( $ name ) ; if ( isset ( $ options [ $ name ] ) && is_array ( $ options [ $ name ] ) ) { return array_merge ( $ options [ 'default' ] , $ options [ $ name ] ) ; } return $ options [ 'default' ] ; }
Loads and merges configuration data.

@param string $name

@return array
Loads and merges configuration data .