Compare commits

...

9 Commits

Author SHA1 Message Date
Daniel Seifert c17a9534f6 make installable in OXID 7.1 2024-05-08 13:46:23 +02:00
Daniel Seifert 2ee9fa1521
update dependencies 2024-02-01 14:45:05 +01:00
Daniel Seifert 2351d7ce85
add property type 2024-02-01 14:43:31 +01:00
Daniel Seifert 5ae27428f7
remove ConnectionBridge
use ConnectionProvider service (ConnectionProviderInterface) instead
2023-07-26 09:47:28 +02:00
Daniel Seifert e07354bec0
Revert "add template block module setting handler bridge"
This reverts commit e181dddfe0.
2023-07-26 09:33:55 +02:00
Daniel Seifert e3577703dd
make installable in OXID 7 2023-07-26 09:14:58 +02:00
Daniel Seifert e2d385d0e4
make installable in OXID 6.5.2 (CE 6.14) 2023-07-19 15:34:55 +02:00
Daniel Seifert e181dddfe0
add template block module setting handler bridge 2023-04-23 22:35:14 +02:00
Daniel Seifert 1778cda674
make installable in OXID 6.5.1 (CE 6.13) 2022-12-13 14:37:26 +01:00
5 changed files with 3 additions and 76 deletions

View File

@ -1,42 +0,0 @@
<?php
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @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;
}
}

View File

@ -1,28 +0,0 @@
<?php
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @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;
}

View File

@ -22,7 +22,7 @@ class ModulePathResolverBridge implements ModulePathResolverBridgeInterface
/**
* @var ModulePathResolverInterface
*/
private $modulePathResolver;
private ModulePathResolverInterface $modulePathResolver;
public function __construct(
ModulePathResolverInterface $modulePathResolver

View File

@ -22,8 +22,8 @@
"MIT"
],
"require": {
"php": "^7.0 || ^8.0",
"oxid-esales/oxideshop-ce": "6.5 - 6.12"
"php": "^8.0",
"oxid-esales/oxideshop-ce": "7.0 - 7.1"
},
"autoload": {
"psr-4": {

View File

@ -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