Méthode |
Description |
|
__construct ( Connection $connection ) |
PersistenceAbstract constructor. |
|
bulkDelete ( array | collection $collection = [] ) : mixed |
Bulk Delete a collection of Models. |
|
bulkSave ( array | Collection $collection = [] ) : mixed |
Bulk save a collection Models. |
|
delete ( ) : mixed |
Delete a model document. |
|
getModel ( ) : Model |
Get the model to persist. |
|
model ( Model $model ) |
Set the model to persist. |
|
reindex ( array | Collection $collection = [] ) : mixed |
Reindex a collection of Models. |
|
save ( ) : mixed |
Save a model instance. |
|
update ( ) : mixed |
Update a model document. |
|