public findOrFail ( array | mixed $keys = null ) : static | ||
$keys | array | mixed | An optional primary key value to load the row by, or an array of fields to match. If not set the "id" state variable or, if empty, the identity column's value is used |
return | static | Self, for chaining |