Find a model by its primary key or throw an exception.
public static findOrFail ( mixed $id, array $columns = [] ) : |
||
$id | mixed | |
$columns | array | |
리턴 |
public static findOrFail ( mixed $id, array $columns = [] ) : |
||
$id | mixed | |
$columns | array | |
리턴 |