I\'m trying to check if the user has permission to a certain model. Up until now (with Laravel 5.2), I added this code at the constructor:
public function __
Because you're attempting to access the instance before the middleware even fires. You can use request()->user() instead.
request()->user()