diff --git a/Doctrine/DBAL/ConnectionBridge.php b/Doctrine/DBAL/ConnectionBridge.php deleted file mode 100644 index 354958b..0000000 --- a/Doctrine/DBAL/ConnectionBridge.php +++ /dev/null @@ -1,42 +0,0 @@ - - * @link https://www.oxidmodule.com - */ - -declare(strict_types=1); - -namespace D3\OxidServiceBridges\Doctrine\DBAL; - -use Doctrine\DBAL\Connection; - -class ConnectionBridge implements ConnectionBridgeInterface -{ - /** - * @var Connection - */ - private $connection; - - public function __construct( - Connection $connection - ) { - $this->connection = $connection; - } - - /** - * @param string $moduleId - * @param int $shopId - * @return Connection - */ - public function getConnection(): Connection - { - return $this->connection; - } -} diff --git a/Doctrine/DBAL/ConnectionBridgeInterface.php b/Doctrine/DBAL/ConnectionBridgeInterface.php deleted file mode 100644 index 1702176..0000000 --- a/Doctrine/DBAL/ConnectionBridgeInterface.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @link https://www.oxidmodule.com - */ - -declare(strict_types=1); - -namespace D3\OxidServiceBridges\Doctrine\DBAL; - -use Doctrine\DBAL\Connection; - -interface ConnectionBridgeInterface -{ - /** - * @param string $moduleId - * @param int $shopId - * @return string - */ - public function getConnection(): Connection; -} \ No newline at end of file diff --git a/services.yaml b/services.yaml index e00d103..9153175 100644 --- a/services.yaml +++ b/services.yaml @@ -3,8 +3,5 @@ services: autowire: true public: true - D3\OxidServiceBridges\Doctrine\DBAL\ConnectionBridgeInterface: - class: D3\OxidServiceBridges\Doctrine\DBAL\ConnectionBridge - D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridgeInterface: class: D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridge