Method | Description | |
---|---|---|
findMethod ( string | null $method = null ) : string | Change the find() method |
Method | Description | |
---|---|---|
_findRecord ( string $id, Crud\Event\Subject $subject ) : Cake\ORM\Entity | Find a record from the ID | |
_notFound ( string $id, Crud\Event\Subject $subject ) : void | Throw exception if a record is not found |
protected _findRecord ( string $id, Crud\Event\Subject $subject ) : Cake\ORM\Entity | ||
$id | string | Record id |
$subject | Crud\Event\Subject | Event subject |
return | Cake\ORM\Entity |