TYPO3 CMS  TYPO3_8-7
Comparison.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
19 
64 {
68  protected $operand1;
69 
73  protected $operator;
74 
78  protected $operand2;
79 
85 
94  {
95  $this->operand1 = $operand1;
96  $this->operator = $operator;
97  $this->operand2 = $operand2;
98  }
99 
105  public function getOperand1()
106  {
107  return $this->operand1;
108  }
109 
115  public function getOperator()
116  {
118 
119  if ($this->getOperand2() === null) {
124  }
125  }
126 
127  return $operator;
128  }
129 
135  public function getOperand2()
136  {
137  return $this->operand2;
138  }
139 
145  {
147  $this->parameterIdentifier = $parameterIdentifier;
148  }
149 
154  public function getParameterIdentifier()
155  {
158  }
159 
165  public function collectBoundVariableNames(&$boundVariables)
166  {
167  }
168 }
__construct(PropertyValueInterface $operand1, $operator, $operand2)
Definition: Comparison.php:93