SessionHandlerInterface conditional declaration