services:
    doctrine.dbal.session_connection.wrapped:
        public: false
        factory: ['@doctrine.dbal.session_connection', getWrappedConnection]
        class: PDO

    session.handler.pdo:
        class: Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
        arguments:
            - '@doctrine.dbal.session_connection.wrapped'
            - { db_table: oro_session, db_id_col: id }
        tags:
            - { name: "oro_session_handler", alias: "pdo" }
