src/Http/Controllers/Frontarea/TenantRegistrationController.php
public function form(TenantRegistrationRequest $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');

        return view('cortex/auth::frontarea.pages.tenant-registration', compact('countries', 'languages'));
    }
public function form(TenantRegistrationRequest $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');

        return view('cortex/auth::frontarea.pages.tenant-registration', compact('countries', 'languages'));
    }
public function form ( TenantRegistrationRequest $ 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' ) ; return view ( 'cortex/auth::frontarea.pages.tenant-registration' , compact ( 'countries' , 'languages' ) ) ; }
Show the registration form.

@param \Cortex\Auth\B2B2C2\Http\Requests\Frontarea\TenantRegistrationRequest $request

@return \Illuminate\View\View
Show the registration form .