Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DynamicBucket.php
Go to the documentation of this file.
1 <?php
7 
9 
16 {
20  protected $name;
21 
25  protected $field;
26 
30  protected $method;
31 
38  public function __construct($name, $field, $method)
39  {
40  $this->name = $name;
41  $this->field = $field;
42  $this->method = $method;
43  }
44 
48  public function getType()
49  {
51  }
52 
56  public function getName()
57  {
58  return $this->name;
59  }
60 
65  public function getField()
66  {
67  return $this->field;
68  }
69 
76  public function getMethod()
77  {
78  return $this->method;
79  }
80 
85  public function getMetrics()
86  {
87  return [];
88  }
89 }