TYPO3 CMS  TYPO3_6-2
LogicalOr.php
Go to the documentation of this file.
1 <?php
3 
24 class LogicalOr implements OrInterface {
25 
29  protected $constraint1;
30 
34  protected $constraint2;
35 
41  $this->constraint1 = $constraint1;
42  $this->constraint2 = $constraint2;
43  }
44 
51  public function collectBoundVariableNames(&$boundVariables) {
52  $this->constraint1->collectBoundVariablenames($boundVariables);
53  $this->constraint2->collectBoundVariablenames($boundVariables);
54  }
55 
61  public function getConstraint1() {
62  return $this->constraint1;
63  }
64 
70  public function getConstraint2() {
71  return $this->constraint2;
72  }
73 }
__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2)
Definition: LogicalOr.php:40