‪TYPO3CMS  10.4
LogicalOr.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
27 class ‪LogicalOr implements ‪OrInterface
28 {
32  protected ‪$constraint1;
33 
37  protected ‪$constraint2;
38 
44  {
45  $this->constraint1 = ‪$constraint1;
46  $this->constraint2 = ‪$constraint2;
47  }
48 
54  public function ‪collectBoundVariableNames(&$boundVariables)
55  {
56  $this->constraint1->collectBoundVariableNames($boundVariables);
57  $this->constraint2->collectBoundVariableNames($boundVariables);
58  }
59 
65  public function ‪getConstraint1()
66  {
67  return ‪$this->constraint1;
68  }
69 
75  public function ‪getConstraint2()
76  {
77  return ‪$this->constraint2;
78  }
79 }
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\__construct
‪__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2)
Definition: LogicalOr.php:41
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\$constraint1
‪ConstraintInterface $constraint1
Definition: LogicalOr.php:31
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface
Definition: OrInterface.php:27
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\getConstraint1
‪ConstraintInterface getConstraint1()
Definition: LogicalOr.php:63
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition: AndInterface.php:16
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr
Definition: LogicalOr.php:28
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\$constraint2
‪ConstraintInterface $constraint2
Definition: LogicalOr.php:35
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition: ConstraintInterface.php:25
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\getConstraint2
‪ConstraintInterface getConstraint2()
Definition: LogicalOr.php:73
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\LogicalOr\collectBoundVariableNames
‪collectBoundVariableNames(&$boundVariables)
Definition: LogicalOr.php:52