Model::getTable(), they just pass it by literal.
For example DB::table('memes')->select, etc.
Why? Isn't it a good practice? I think it's better to do it. Wat if I need to rename my table? =/
Stop watching that people code and search for better code to look at
I don't really know laravel, so I clone repos and look at the code =/ I think it's a good pracrice. I tried relatively big projects that are supposed to be made by people who know more than I do
Обсуждают сегодня