vendor/shopware/core/Content/Product/DataAbstractionLayer/CheapestPrice/CalculatedCheapestPrice.php line 9

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content\Product\DataAbstractionLayer\CheapestPrice;
  3. use Shopware\Core\Checkout\Cart\Price\Struct\CalculatedPrice;
  4. use Shopware\Core\Framework\Log\Package;
  5. #[Package('core')]
  6. class CalculatedCheapestPrice extends CalculatedPrice
  7. {
  8.     /**
  9.      * @var bool
  10.      */
  11.     protected $hasRange false;
  12.     public function hasRange(): bool
  13.     {
  14.         return $this->hasRange;
  15.     }
  16.     public function setHasRange(bool $hasRange): void
  17.     {
  18.         $this->hasRange $hasRange;
  19.     }
  20.     public function getApiAlias(): string
  21.     {
  22.         return 'calculated_cheapest_price';
  23.     }
  24. }