Commit 3b82a3b9 authored by catch's avatar catch
Browse files

Issue #3200213 by Charlie ChX Negyesi, jhodgdon, longwave, andypost: Document...

Issue #3200213 by Charlie ChX Negyesi, jhodgdon, longwave, andypost: Document somewhat the session_bag tag
parent e51a547e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1545,6 +1545,9 @@ services:
    arguments: ['@session_manager', '@session.attribute_bag', '@session.flash_bag']
    tags:
      - { name: service_collector, tag: session_bag, call: registerBag }
  # session.flash_bag has special treatment: it is passed to the session
  # service as an argument. Other services using FlashBag should be tagged
  # with the session_bag tag, so that they will persist across page loads.
  session.flash_bag:
    class: Symfony\Component\HttpFoundation\Session\Flash\FlashBag
    public: false