Laratrust\Laratrust::user PHP Method

user() public method

Get the currently authenticated user or null.
public user ( ) : Illuminate\Auth\UserInterface | null
return Illuminate\Auth\UserInterface | null
    public function user()
    {
        return $this->app->auth->user();
    }