\App\Http\ModelsAddress

Class Address Address model to store user's address information.

Summary

Methods
Properties
Constants
scopeGetInfo()
user()
No public properties found
No constants found
No protected methods found
$fillable
N/A
No private methods found
No private properties found
N/A

Properties

$fillable

$fillable : 

Type

Methods

scopeGetInfo()

scopeGetInfo(  $query,   $slug) : mixed

Get address object from address_id.

Parameters

$query
$slug

Returns

mixed

user()

user() : \Illuminate\Database\Eloquent\Relations\BelongsTo

Each address belong to a user.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo