TYPO3 CMS  TYPO3_6-2
LogicalAnd.php
Go to the documentation of this file.
1 <?php
3 
22 class LogicalAnd implements AndInterface {
23 
27  protected $constraint1;
28 
32  protected $constraint2;
33 
39  $this->constraint1 = $constraint1;
40  $this->constraint2 = $constraint2;
41  }
42 
49  public function collectBoundVariableNames(&$boundVariables) {
50  $this->constraint1->collectBoundVariableNames($boundVariables);
51  $this->constraint2->collectBoundVariableNames($boundVariables);
52  }
53 
59  public function getConstraint1() {
60  return $this->constraint1;
61  }
62 
68  public function getConstraint2() {
69  return $this->constraint2;
70  }
71 }
__construct(ConstraintInterface $constraint1, ConstraintInterface $constraint2)
Definition: LogicalAnd.php:38