PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
plugins
/
ecommerce
/
src
/
Repositories
/
Caches
<?php namespace Botble\Ecommerce\Repositories\Caches; use Botble\Ecommerce\Repositories\Interfaces\ProductVariationInterface; use Botble\Support\Repositories\Caches\CacheAbstractDecorator; class ProductVariationCacheDecorator extends CacheAbstractDecorator implements ProductVariationInterface { /** * {@inheritDoc} */ public function getVariationByAttributes($configurableProductId, array $attributes) { return $this->getDataIfExistCache(__FUNCTION__, func_get_args()); } /** * {@inheritDoc} */ public function getVariationByAttributesOrCreate($configurableProductId, array $attributes) { if ($this->getVariationByAttributes($configurableProductId, $attributes)) { return $this->getDataIfExistCache(__FUNCTION__, func_get_args()); } return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args()); } /** * {@inheritDoc} */ public function correctVariationItems($configurableProductId, array $attributes) { return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args()); } /** * {@inheritDoc} */ public function getParentOfVariation($variationId, array $with = []) { return $this->getDataIfExistCache(__FUNCTION__, func_get_args()); } /** * {@inheritDoc} */ public function getAttributeIdsOfChildrenProduct($productId) { return $this->getDataIfExistCache(__FUNCTION__, func_get_args()); } }
[-] ProductAttributeSetCacheDecorator.php
[edit]
[-] BrandCacheDecorator.php
[edit]
[-] ProductCategoryCacheDecorator.php
[edit]
[-] TaxCacheDecorator.php
[edit]
[+]
..
[-] AddressCacheDecorator.php
[edit]
[-] ShipmentHistoryCacheDecorator.php
[edit]
[-] WishlistCacheDecorator.php
[edit]
[-] ProductTagCacheDecorator.php
[edit]
[-] ShippingRuleItemCacheDecorator.php
[edit]
[-] CustomerCacheDecorator.php
[edit]
[-] ShippingRuleCacheDecorator.php
[edit]
[-] FlashSaleCacheDecorator.php
[edit]
[-] ProductVariationCacheDecorator.php
[edit]
[-] ProductCacheDecorator.php
[edit]
[-] ShipmentCacheDecorator.php
[edit]
[-] ProductCollectionCacheDecorator.php
[edit]
[-] GroupedProductCacheDecorator.php
[edit]
[-] CurrencyCacheDecorator.php
[edit]
[-] ShippingCacheDecorator.php
[edit]
[-] ProductLabelCacheDecorator.php
[edit]
[-] OrderProductCacheDecorator.php
[edit]
[-] OrderAddressCacheDecorator.php
[edit]
[-] DiscountCacheDecorator.php
[edit]
[-] OrderHistoryCacheDecorator.php
[edit]
[-] ProductVariationItemCacheDecorator.php
[edit]
[-] ProductAttributeCacheDecorator.php
[edit]
[-] ReviewCacheDecorator.php
[edit]
[-] OrderCacheDecorator.php
[edit]
[-] StoreLocatorCacheDecorator.php
[edit]