OxidServiceBridges/Internal/Framework/Module/Path/ModulePathResolverBridge.php

42 lignes
1.1 KiB
PHP
Brut Vue normale Historique

2021-05-07 23:35:49 +02:00
<?php
2021-05-08 00:30:35 +02:00
/**
* 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
*/
2021-05-07 23:35:49 +02:00
declare(strict_types=1);
2021-05-08 11:53:08 +02:00
namespace D3\OxidServiceBridges\Internal\Framework\Module\Path;
2021-05-07 23:35:49 +02:00
use OxidEsales\EshopCommunity\Internal\Framework\Module\Path\ModulePathResolverInterface;
class ModulePathResolverBridge implements ModulePathResolverBridgeInterface
{
/**
* @var ModulePathResolverInterface
*/
private $modulePathResolver;
public function __construct(
ModulePathResolverInterface $modulePathResolver
) {
$this->modulePathResolver = $modulePathResolver;
}
/**
* @param string $moduleId
* @param int $shopId
* @return string
*/
public function getFullModulePathFromConfiguration(string $moduleId, int $shopId): string
{
return $this->modulePathResolver->getFullModulePathFromConfiguration($moduleId, $shopId);
}
}