Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RangeBucket.php
Go to the documentation of this file.
1 <?php
7 
9 
13 class RangeBucket implements BucketInterface
14 {
18  protected $name;
19 
23  protected $field;
24 
28  protected $metrics;
29 
33  protected $ranges;
34 
41  public function __construct($name, $field, array $metrics, array $ranges)
42  {
43  $this->name = $name;
44  $this->field = $field;
45  $this->metrics = $metrics;
46  $this->ranges = $ranges;
47  }
48 
52  public function getType()
53  {
55  }
56 
61  public function getName()
62  {
63  return $this->name;
64  }
65 
70  public function getField()
71  {
72  return $this->field;
73  }
74 
79  public function getMetrics()
80  {
81  return $this->metrics;
82  }
83 
90  public function getRanges()
91  {
92  return $this->ranges;
93  }
94 }
__construct($name, $field, array $metrics, array $ranges)
Definition: RangeBucket.php:41