ModelNotFoundException (Database\Eloquent)
ModelNotFoundException
class ModelNotFoundException extends RuntimeException (View source)
Methods
$this | setModel(string $model, int|array $ids = array()) Set the affected Eloquent model and instance ids. | |
string | getModel() Get the affected Eloquent model. | |
int|array | getIds() Get the affected Eloquent model IDs. |
Details
$this setModel(string $model, int|array $ids = array())
Set the affected Eloquent model and instance ids.
string getModel()
Get the affected Eloquent model.
int|array getIds()
Get the affected Eloquent model IDs.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Database/Eloquent/ModelNotFoundException.html