src/Http/Controllers/Adminarea/AccountSettingsController.php
public function edit(Request $request)
    {
        $countries = collect(countries())->map(function ($country, $code) {
            return [
                'id' => $code,
                'text' => $country['name'],
                'emoji' => $country['emoji'],
            ];
        })->values();
        $languages = collect(languages())->pluck('name', 'iso_639_1');
        $genders = ['male' => trans('cortex/auth::common.male'), 'female' => trans('cortex/auth::common.female')];

        return view('cortex/auth::adminarea.pages.account-settings', compact('countries', 'languages', 'genders'));
    }
public function edit(Request $request)
    {
        $countries = collect(countries())->map(function ($country, $code) {
            return [
                'id' => $code,
                'text' => $country['name'],
                'emoji' => $country['emoji'],
            ];
        })->values();
        $languages = collect(languages())->pluck('name', 'iso_639_1');
        $genders = ['male' => trans('cortex/auth::common.male'), 'female' => trans('cortex/auth::common.female')];

        return view('cortex/auth::adminarea.pages.account-settings', compact('countries', 'languages', 'genders'));
    }
public function edit ( Request $ request ) { $ countries = collect ( countries ( ) ) -> map ( function ( $ country , $ code ) { return [ 'id' => $ code , 'text' => $ country [ 'name' ] , 'emoji' => $ country [ 'emoji' ] , ] ; } ) -> values ( ) ; $ languages = collect ( languages ( ) ) -> pluck ( 'name' , 'iso_639_1' ) ; $ genders = [ 'male' => trans ( 'cortex/auth::common.male' ) , 'female' => trans ( 'cortex/auth::common.female' ) ] ; return view ( 'cortex/auth::adminarea.pages.account-settings' , compact ( 'countries' , 'languages' , 'genders' ) ) ; }
Edit account settings.

@param \Illuminate\Http\Request $request

@return \Illuminate\View\View
Edit account settings .