Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Clause.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
15 class Clause
16 {
20  private $fieldName;
21 
25  private $clauseType;
26 
30  private $clauseValue;
31 
37  public function __construct(
38  string $fieldName,
39  string $clauseType,
40  $clauseValue
41  ) {
42  $this->fieldName = $fieldName;
43  $this->clauseType = $clauseType;
44  $this->clauseValue = $clauseValue;
45  }
46 
52  public function getFieldName() : string
53  {
54  return $this->fieldName;
55  }
56 
62  public function getClauseType(): string
63  {
64  return $this->clauseType;
65  }
66 
72  public function getClauseValue()
73  {
74  return $this->clauseValue;
75  }
76 }
__construct(string $fieldName, string $clauseType, $clauseValue)
Definition: Clause.php:37