Skip to content
Permalink
Browse files

OXDEV-1287 Rename ShopConfigurationCache

  • Loading branch information...
iegupov committed Jul 4, 2019
1 parent 905527d commit 1a747cfc21ed2227ba30b8f30d3ad83347a2b515
@@ -11,7 +11,7 @@
/**
* @internal
*/
class ClassPropertyShopConfigurationCache implements ShopConfigurationCache
class ClassPropertyShopConfigurationCache implements ShopConfigurationCacheInterface
{
/**
* @var string[]
@@ -11,7 +11,7 @@
/**
* @internal
*/
interface ShopConfigurationCache
interface ShopConfigurationCacheInterface
{
public function put(string $environment, int $shopId, ShopConfiguration $configuration): void;
@@ -9,7 +9,7 @@
use OxidEsales\EshopCommunity\Internal\Application\Utility\BasicContextInterface;
use OxidEsales\EshopCommunity\Internal\Common\Storage\ArrayStorageInterface;
use OxidEsales\EshopCommunity\Internal\Common\Storage\FileStorageFactoryInterface;
use OxidEsales\EshopCommunity\Internal\Module\Configuration\Cache\ShopConfigurationCache;
use OxidEsales\EshopCommunity\Internal\Module\Configuration\Cache\ShopConfigurationCacheInterface;
use OxidEsales\EshopCommunity\Internal\Module\Configuration\DataMapper\ShopConfigurationDataMapperInterface;
use OxidEsales\EshopCommunity\Internal\Module\Configuration\DataObject\ShopConfiguration;
use Symfony\Component\Config\Definition\NodeInterface;
@@ -36,7 +36,7 @@ class ShopConfigurationDao implements ShopConfigurationDaoInterface
private $context;
/**
* @var ShopConfigurationCache
* @var ShopConfigurationCacheInterface
*/
private $cache;
@@ -55,15 +55,15 @@ class ShopConfigurationDao implements ShopConfigurationDaoInterface
* @param ShopConfigurationDataMapperInterface $shopConfigurationMapper
* @param FileStorageFactoryInterface $fileStorageFactory
* @param BasicContextInterface $context
* @param ShopConfigurationCache $cache
* @param ShopConfigurationCacheInterface $cache
* @param Filesystem $fileSystem
* @param NodeInterface $node
*/
public function __construct(
ShopConfigurationDataMapperInterface $shopConfigurationMapper,
FileStorageFactoryInterface $fileStorageFactory,
BasicContextInterface $context,
ShopConfigurationCache $cache,
ShopConfigurationCacheInterface $cache,
Filesystem $fileSystem,
NodeInterface $node
) {

0 comments on commit 1a747cf

Please sign in to comment.
You can’t perform that action at this time.