you can use this php artisan make:model Article -mf instead of -m -f
php artisan make:model Article -mf
Nice tutorial as always :)
Is it possible to load the aggregates on demand in a quey scope ? Something like :
$user->with aggregates()
yes
you can use this
php artisan make:model Article -mf
instead of -m -f