Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Connective.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
16 {
20  private $operator;
21 
25  private $conditions;
26 
31  public function __construct(
32  Operator $operator,
33  array $conditions
34  ) {
35  $this->operator = $operator;
36  $this->conditions = $conditions;
37  }
38 
44  public function getOperator() : Operator
45  {
46  return $this->operator;
47  }
48 
54  public function getConditions(): array
55  {
56  return $this->conditions;
57  }
58 }