9/21/2023 0 Comments Phpstorm laravel import class![]() Then above my class I typed "/** hit ENTER" which automatically generated PHP Docs (I added the Eloquent by way of auto completion instead of typing). In my Model I added use Eloquent at the top. Down in the first comment you can find Barry's links.Īfter having added this it did not work for me but I am still mentioning it for the sake of completion. I found a solution that worked and was simple after having tried the _ide_help.php solution of Barry. The BaseModel is now not complete, feel free to add further static methods, I add them on demand. ![]() Then my own models extends this model:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |