Webmozart\Expression\Expr::keyExists PHP Method

keyExists() public static method

Check that a value key exists.
public static keyExists ( string $keyName ) : KeyExists
$keyName string The key name.
return Webmozart\Expression\Constraint\KeyExists The created expression.
    public static function keyExists($keyName)
    {
        return new KeyExists($keyName);
    }

Usage Example

Beispiel #1
0
 public function orKeyExists($keyName)
 {
     return $this->orX(Expr::keyExists($keyName));
 }
All Usage Examples Of Webmozart\Expression\Expr::keyExists