class Illuminate / Database / Eloquent / ModelNotFoundException
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ModelNotFoundException

Extends

Properties

protected

$model string

Name of the affected Eloquent model.

Default: null
protected

$ids int|array

The affected model IDs.

Default: null

Methods

public

setModel ( $model , $ids ) : $this

Set the affected Eloquent model and instance ids.

Parameters

  • $model string
  • $ids int|array
public

getModel ( ) : string

Get the affected Eloquent model.

public

getIds ( ) : int|array

Get the affected Eloquent model IDs.