vendor/shopware/storefront/Page/Product/Review/MatrixElement.php line 5

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Storefront\Page\Product\Review;
  3. class MatrixElement
  4. {
  5.     /**
  6.      * @var int
  7.      */
  8.     protected $points;
  9.     /**
  10.      * @var int
  11.      */
  12.     protected $count;
  13.     /**
  14.      * @var float
  15.      */
  16.     protected $percent;
  17.     public function __construct(int $pointsint $countfloat $percent 0.0)
  18.     {
  19.         $this->points $points;
  20.         $this->count $count;
  21.         $this->percent $percent;
  22.     }
  23.     public function getPoints(): int
  24.     {
  25.         return $this->points;
  26.     }
  27.     public function setPoints(int $points): MatrixElement
  28.     {
  29.         $this->points $points;
  30.         return $this;
  31.     }
  32.     public function getCount(): int
  33.     {
  34.         return $this->count;
  35.     }
  36.     public function setCount(int $count): MatrixElement
  37.     {
  38.         $this->count $count;
  39.         return $this;
  40.     }
  41.     public function getPercent(): float
  42.     {
  43.         return $this->percent;
  44.     }
  45.     public function setPercent(float $percent): MatrixElement
  46.     {
  47.         $this->percent $percent;
  48.         return $this;
  49.     }
  50. }