Home
last modified time | relevance | path

Searched refs:ShopConstraint (Results 1 – 10 of 10) sorted by relevance

/dports/finance/prestashop/prestashop/src/Adapter/
H A DConfiguration.php35 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
194 public function has($key, ShopConstraint $shopConstraint = null)
356 * @param ShopConstraint $shopConstraint
360 private function getShopId(ShopConstraint $shopConstraint): ?int
369 * @param ShopConstraint $shopConstraint
397 * @param ShopConstraint $shopConstraint
412 * @return ShopConstraint
414 private function buildShopConstraintFromContext(): ShopConstraint
422 return ShopConstraint::shop(Shop::getContextShopID());
427 return ShopConstraint::allShops();
[all …]
/dports/finance/prestashop/prestashop/src/Core/Domain/Configuration/
H A DShopConfigurationInterface.php32 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
39 * @param ShopConstraint|null $shopConstraint
43 public function get($key, $default = null, ShopConstraint $shopConstraint = null);
48 * @param ShopConstraint|null $shopConstraint
52 public function set($key, $value, ShopConstraint $shopConstraint = null);
56 * @param ShopConstraint|null $shopConstraint
60 public function has($key, ShopConstraint $shopConstraint = null);
/dports/finance/prestashop/prestashop/src/Adapter/Shop/
H A DContext.php30 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
236 * @return ShopConstraint
238 public function getShopConstraint(bool $strict = false): ShopConstraint
241 return ShopConstraint::shop((int) $this->getContextShopID(), $strict);
243 return ShopConstraint::shopGroup((int) $this->getContextShopGroup()->id, $strict);
246 return ShopConstraint::allShops();
/dports/finance/prestashop/prestashop/src/Core/Configuration/
H A DAbstractMultistoreConfiguration.php33 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
69 * @return ShopConstraint|null
71 public function getShopConstraint(): ?ShopConstraint
84 * @param ShopConstraint|null $shopConstraint
87 …ionValue(string $configurationKey, string $fieldName, array $input, ?ShopConstraint $shopConstrain…
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Service/Multistore/
H A DCustomizedConfigurationChecker.php32 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
69 $shopGroupConstraint = ShopConstraint::shopGroup($shop->getShopGroup()->getId(), true);
77 $shopConstraint = ShopConstraint::shop($shop->getId(), true);
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Twig/
H A DLayoutExtension.php34 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
140 * @param ShopConstraint $shopConstraint Default value is null
144 public function getConfiguration($key, $default = null, ShopConstraint $shopConstraint = null)
/dports/finance/prestashop/prestashop/src/Core/Domain/Shop/ValueObject/
H A DShopConstraint.php33 class ShopConstraint class
/dports/finance/prestashop/prestashop/src/Adapter/Order/
H A DOrderAmountUpdater.php50 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
628 * @return ShopConstraint
630 private function getOrderShopConstraint(Order $order): ShopConstraint
634 $this->orderConstraints[$constraintKey] = ShopConstraint::shop((int) $order->id_shop);
H A DOrderDetailUpdater.php43 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
227 $shopConstraint = ShopConstraint::shop((int) $order->id_shop);
/dports/finance/prestashop/prestashop/src/Adapter/Order/QueryHandler/
H A DGetOrderForViewingHandler.php85 use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; alias
187 ShopConstraint::shop((int) $order->id_shop)
437 ShopConstraint::shop((int) $order->id_shop)