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

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. class CalculatedCheapestPrice extends CalculatedPrice
  5. {
  6.     /**
  7.      * @var bool
  8.      */
  9.     protected $hasRange false;
  10.     public function hasRange(): bool
  11.     {
  12.         return $this->hasRange;
  13.     }
  14.     public function setHasRange(bool $hasRange): void
  15.     {
  16.         $this->hasRange $hasRange;
  17.     }
  18.     public function getApiAlias(): string
  19.     {
  20.         return 'calculated_cheapest_price';
  21.     }
  22. }