public function showSettingsTable()
    {
        $config = config('mustard');

        array_walk($config, function (&$value) {
            if (!is_scalar($value) || is_bool($value)) {
                $value = var_export($value, true);
            }
        });

        $table = new AdminSettings($config);

        return view('mustard::admin.settings', [
            'table'    => $table,
            'settings' => $table->paginate(),
        ]);
    }
public function showSettingsTable()
    {
        $config = config('mustard');

        array_walk($config, function (&$value) {
            if (!is_scalar($value) || is_bool($value)) {
                $value = var_export($value, true);
            }
        });

        $table = new AdminSettings($config);

        return view('mustard::admin.settings', [
            'table'    => $table,
            'settings' => $table->paginate(),
        ]);
    }
public function showSettingsTable ( ) { $ config = config ( 'mustard' ) ; array_walk ( $ config , function ( & $ value ) { if ( ! is_scalar ( $ value ) || is_bool ( $ value ) ) { $ value = var_export ( $ value , true ) ; } } ) ; $ table = new AdminSettings ( $ config ) ; return view ( 'mustard::admin.settings' , [ 'table' => $ table , 'settings' => $ table -> paginate ( ) , ] ) ; }
Return the admin settings view.

@return \Illuminate\View\View
Return the admin settings view .