AddressesManager
class AddressesManager extends Manager
Methods
array
fillable()
Define the fillable fields.
bool
create(array $data, object $owner)
Add a new address.
Address
fromId(int $id)
Find an address by id.
Collection
fromOwner(object $owner)
Get all addresses from the given owner.
Details
at line 67
protected array
fillable()
Define the fillable fields.
in Manager at line 20
protected Model
makeFillable(Model $model)
Set fillable fields for the given model.
at line 16
bool
create(array $data, object $owner)
Add a new address.
at line 34
Address
fromId(int $id)
Find an address by id.
at line 45
Collection
fromOwner(object $owner)
Get all addresses from the given owner.
at line 57
Address
update(Address $address, array $data)
Update the given address.