ContactsManager
class ContactsManager extends Manager
Methods
array
fillable()
Define the fillable fields.
Contact
create(array $data, User $user)
Create a new contact.
Collection
fromUser(User $user)
Get the users contacts.
Contact
fromId(int $id)
Find the contact by id.
Details
at line 70
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 17
Contact
create(array $data, User $user)
Create a new contact.
at line 35
Collection
fromUser(User $user)
Get the users contacts.
at line 46
Contact
fromId(int $id)
Find the contact by id.
at line 58
Contact
update(Contact $contact, array $data)
Update the given contact.