I would like to access the dbal_connection service, in the createConfig function in my Theme.
„$this->container“ is not available, which I’d use in a Plugin.
I would like to access the dbal_connection service, in the createConfig function in my Theme.
„$this->container“ is not available, which I’d use in a Plugin.
Shopware()->Container()->get(‘dbal_connection’)