2
votes
My implementation of repository pattern in Laravel 5.6
The upsert() method is quite long. There are many lines dedicated to assigning attributes on the Company. Perhaps by now you've learned about Mass assignment but if ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
php × 4269object-oriented × 652
mysql × 580
security × 390
pdo × 326
performance × 298
laravel × 252
mysqli × 246
html × 240
beginner × 237
array × 220
mvc × 204
sql × 194
php5 × 186
javascript × 183
authentication × 157
validation × 125
design-patterns × 119
wordpress × 112
form × 110
ajax × 110
jquery × 109
classes × 95
session × 95
codeigniter × 92