App\Http\Controllers\NotificationsController::getAll PHP Méthode

getAll() public méthode

public getAll ( )
    public function getAll()
    {
        $user = User::find(\Auth::id());
        $notread = $user->getNotificationsNotRead();
        return $notread->toJson();
    }
NotificationsController