Create session_set_savehandler for doctrine dbal