\App\Http\ControllersAddressController

Class AddressController CRUD controller for user address.

Summary

Methods
Properties
Constants
index()
create()
store()
edit()
update()
destroy()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

index()

index() : \App\Http\Controllers\Response

Display a listing of all the addresses.

Returns

\App\Http\Controllers\Response

create()

create() : \App\Http\Controllers\Response

Show the form for creating new address.

Returns

\App\Http\Controllers\Response

store()

store(\App\Http\Requests\AddressRequest  $request) : \App\Http\Controllers\Response

Save new address entry to database.

Parameters

\App\Http\Requests\AddressRequest $request

Address Request from user

Returns

\App\Http\Controllers\Response

edit()

edit(string  $slug) : \App\Http\Controllers\Response

Show the form for editing the specified resource.

Parameters

string $slug

address_id

Returns

\App\Http\Controllers\Response

update()

update(\App\Http\Requests\AddressRequest  $request, string  $slug) : \Redirect

Update the specified address in storage.

Parameters

\App\Http\Requests\AddressRequest $request

request

string $slug

address_id

Returns

\Redirect

destroy()

destroy(\Illuminate\Http\Request  $request, string  $slug) : \Redirect

Remove the specified resource from storage.

Parameters

\Illuminate\Http\Request $request
string $slug

address_id

Returns

\Redirect