OxidServiceBridges/Internal/Framework/Module/Path/ModulePathResolverBridge.php
2024-02-01 14:43:31 +01:00

42 regels
1.2 KiB
PHP

<?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\Internal\Framework\Module\Path;
use OxidEsales\EshopCommunity\Internal\Framework\Module\Path\ModulePathResolverInterface;
class ModulePathResolverBridge implements ModulePathResolverBridgeInterface
{
/**
* @var ModulePathResolverInterface
*/
private ModulePathResolverInterface $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);
}
}