Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BoolExpression.php
Go to the documentation of this file.
1 <?php
7 
9 
16 {
20  protected $name;
21 
27  protected $must = [];
28 
34  protected $should = [];
35 
41  protected $mustNot = [];
42 
50  public function __construct($name, array $must = [], array $should = [], array $not = [])
51  {
52  $this->name = $name;
53  $this->must = $must;
54  $this->should = $should;
55  $this->mustNot = $not;
56  }
57 
61  public function getType()
62  {
64  }
65 
70  public function getName()
71  {
72  return $this->name;
73  }
74 
81  public function getMust()
82  {
83  return $this->must;
84  }
85 
92  public function getShould()
93  {
94  return $this->should;
95  }
96 
103  public function getMustNot()
104  {
105  return $this->mustNot;
106  }
107 }
__construct($name, array $must=[], array $should=[], array $not=[])