Tinker always returning not found in eval() Laravel 5.1 -


i have models place in app/models, , if attempt run in tinker:

$user = new app\user; or $user = new app\models\user; 

i shown with:

class x not found in eval()'d code on line 1 

i found out following not work either:

$user = new user(); 

what doing wrong here?


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -