Skip to main content

Symfony Profiler

The connector provides a dedicated tab in the Symfony debug toolbar that lets you inspect the current session state directly in the browser — without any code or log files.


What is displayed?​

The tab appears as "Connector Session" in the toolbar. It shows at a glance:

  • Active? – Whether a ConnectorSession is currently present
  • System – The technical name of the connector system
  • System type – OCI or cXML
  • Hook URL – The return URL of the procurement system
  • Transmission ID – The UUID of the underlying transmission
  • Transmission mode – manual or auto
  • Additional fields – All key/value pairs from additionalFields (e.g. OCI request parameters or cXML Extrinsic fields)

When is the tab visible?​

The tab appears on every storefront page as long as the Symfony Profiler is active (typically in the dev environment). The toolbar itself is only shown when APP_ENV=dev is set.

If no ConnectorSession is active, the tab simply shows "Inactive".


Technical background​

The tab is implemented by the ConnectorSessionDataCollector. On each request it reads the PHP session under the key agiqon_connector.connector_session and makes the data available to the profiler.

Class: AgiqonConnector\Connector\DataCollector\ConnectorSessionDataCollector
Template: @AgiqonConnector/Collector/connector_session.html.twig
Name: agiqon_connector.session