Method |
Description |
|
all_status ( ) : array |
Get all the statuses available for a contact |
|
contacts ( ) |
Relation with contacts table |
|
create ( array $attributes = [] ) : void |
When creating a contact, run the attributes through a validator first. |
|
getPresenter ( ) |
Initiate the presenter class |
|
scopePublished ( $query ) : query |
Get all the published contacts that are within the publish date range |
|
setAliasAttribute ( string $alias ) |
Automatically set the alias, if one is not provided |
|
update ( array $attributes = [], array $options = [] ) : void |
When updating a contact, run the attributes through a validator first. |
|