This is wrong. ``getFlashBag`` is not a renaming of ``getFlash``. It should be ``->getFlashBag()->get('notice')``