Mage2\User\Controllers\AddressController::create PHP 메소드

create() 공개 메소드

Show the form for creating a new user addresses.
public create ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response
    public function create()
    {
        $user = Auth::user();
        $countries = Country::all();
        $defaultCountry = Configuration::getConfiguration('mage2_address_default_country');
        return view('address.my-account.create-address')->with('user', $user)->with('countries', $countries)->with('defaultCountry', $defaultCountry);
    }