‪TYPO3CMS  9.5
LogicalOr.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 
26 class ‪LogicalOr implements ‪OrInterface
27 {
31  protected ‪$constraint1;
32 
36  protected ‪$constraint2;
37 
43  {
44  $this->constraint1 = ‪$constraint1;
45  $this->constraint2 = ‪$constraint2;
46  }
47 
53  public function ‪collectBoundVariableNames(&$boundVariables)
54  {
55  $this->constraint1->collectBoundVariableNames($boundVariables);
56  $this->constraint2->collectBoundVariableNames($boundVariables);
57  }
58 
64  public function ‪getConstraint1()
65  {
66  return ‪$this->constraint1;
67  }
68 
74  public function ‪getConstraint2()
75  {
76  return ‪$this->constraint2;
77  }
78 }
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\__construct
‪__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2)
Definition: LogicalOr.php:40
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\$constraint1
‪ConstraintInterface $constraint1
Definition: LogicalOr.php:30
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface
Definition: OrInterface.php:26
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\getConstraint1
‪ConstraintInterface getConstraint1()
Definition: LogicalOr.php:62
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition: AndInterface.php:2
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr
Definition: LogicalOr.php:27
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\$constraint2
‪ConstraintInterface $constraint2
Definition: LogicalOr.php:34
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition: ConstraintInterface.php:24
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\getConstraint2
‪ConstraintInterface getConstraint2()
Definition: LogicalOr.php:72
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\collectBoundVariableNames
‪collectBoundVariableNames(&$boundVariables)
Definition: LogicalOr.php:51