davy_yg
369
5
Laravel

findOrFail();

Posted 5 months ago by davy_yg

Hello,

I wonder what is the difference between findOrFail and find ?

$Product = Product:findOrFail($id);

Thanks in advance.

Please sign in or create an account to participate in this conversation.