Home > Blockchain >  There Are Any Difference at Timing When Select Data By ORM Laravel 6 Using This Two Ways?
There Are Any Difference at Timing When Select Data By ORM Laravel 6 Using This Two Ways?

Time:10-03

$user->follows

or That

$user->follows()

Timeline Method That Return Data To View

CodePudding user response:

The difference is $user->follows call an object from data and $user->follows() call a model method.

  • Related