I tried
php artisan tinker
then
AppModelsProduct::all()
And then I got this error. What could I have done wrong?
PHP Notice: Use of undefined constant app - assumed 'app' in Psy Shell code on line 1
thank you in advance for the help
New contributor
Mehmet Kütük is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.