Friday, March 10, 2017

Laravel Database Notifications Object Access

I was wondering if you store notifications in the database, for example:

'requester_id' => 4,
'comment_id' => 5

Can you then easily turn those ID's back into objects whilst retrieving the notifications?



via jdawg

Advertisement