I have a model called Class and User.
my User model has this line of code.
use App\Class;
its giving me an error "syntax error, unexpected 'Class' (T_CLASS), expecting identifier (T_STRING)"
but when I use other names its just fine. could someone tell me why its not possible to use the word Class as a classname
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire