Méthode |
Description |
|
__clone ( ) |
Clone object. |
|
__construct ( Isswp101\Persimmon\DAL\IDAL $dal, array $attributes = [] ) |
Create a new instance. |
|
create ( array $attributes = [] ) : static |
Save a new model and return the instance. |
|
createInstance ( ) : static |
Create a new instance. |
|
delete ( ) : boolean |
Delete the model. |
|
destroy ( mixed $id ) |
Destroy the models by the given id. |
|
find ( mixed $id, array $columns = ['*'], array $options = [] ) : static |
Find a model by its primary key. |
|
findOrFail ( mixed $id, array $columns = ['*'], integer $parent = null ) : static |
Find a model by its primary key or throw an exception. |
|
findOrNew ( mixed $id ) : static |
Find a model by its primary key or return new model. |
|
jsonSerialize ( ) |
|
|
save ( array $columns = ['*'] ) : boolean |
Save the model. |
|
toArray ( ) |
|
|