/** * @param QOM\NotInterface $constraint * * @return string */ public function walkNotConstraint(QOM\NotInterface $constraint) { return "NOT (" . $this->walkConstraint($constraint->getConstraint()) . ")"; }
private function walkNotConstraint(QOM\NotInterface $constraint) { $not = $this->walkConstraint($constraint->getConstraint()); return sprintf('NOT %s', $not); }