Neos\Flow\Persistence\Generic\Qom\QueryObjectModelFactory::not PHP Метод

not() публичный Метод

Performs a logical negation of another constraint.
public not ( Constraint $constraint ) : LogicalNot
$constraint Constraint the constraint to be negated; non-null
Результат LogicalNot the Not constraint; non-null
    public function not(Constraint $constraint)
    {
        return new LogicalNot($constraint);
    }

Usage Example

Пример #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);
 }