Chrisbjr\ApiGuard\Providers\Auth\Sentinel::user PHP Method

user() public method

Get the currently authenticated user.
public user ( ) : Cartalyst\Sentinel\Users\UserInterface
return Cartalyst\Sentinel\Users\UserInterface
    public function user()
    {
        return $this->sentinel->getUser();
    }