Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TermBucket.php
Go to the documentation of this file.
1 <?php
7 
9 
13 class TermBucket implements BucketInterface
14 {
18  protected $name;
19 
23  protected $field;
24 
28  protected $metrics;
29 
36  public function __construct($name, $field, array $metrics)
37  {
38  $this->name = $name;
39  $this->field = $field;
40  $this->metrics = $metrics;
41  }
42 
46  public function getType()
47  {
49  }
50 
55  public function getName()
56  {
57  return $this->name;
58  }
59 
64  public function getField()
65  {
66  return $this->field;
67  }
68 
73  public function getMetrics()
74  {
75  return $this->metrics;
76  }
77 }