not() public method

Performs a logical negation of another constraint.
public not ( Constraint $constraint ) : LogicalNot
$constraint Constraint the constraint to be negated; non-null
return LogicalNot the Not constraint; non-null
Ejemplo n.º 1
0
 /**
  * Performs a logical negation of the given constraint
  *
  * @param object $constraint Constraint to negate
  * @return Qom\LogicalNot
  * @api
  */
 public function logicalNot($constraint)
 {
     return $this->qomFactory->not($constraint);
 }