keyNotExists() public static method

Check that a value key does not exist.
public static keyNotExists ( string $keyName ) : KeyNotExists
$keyName string The key name.
return Webmozart\Expression\Constraint\KeyNotExists The created expression.
Example #1
0
 public function orKeyNotExists($keyName)
 {
     return $this->orX(Expr::keyNotExists($keyName));
 }
Example #2
0
 public function andKeyNotExists($keyName)
 {
     return $this->andX(Expr::keyNotExists($keyName));
 }