I use the baked in Auth in Laravel 5.0, which is such a head-start. What I can't figure out is how to query the database with an authenticated User's ID.
E.g. "Get all the posts for User ID 1".
From the User.php model, I can see the following function:
getId();
but,
$userid = getId();
doesn't work.
How would I define or grab the userID so that I can query my database on user-based variables?