Webmozart\Expression\Expr::atLeast PHP Method

atLeast() public static method

Check that at least N entries of a traversable value match an expression.
public static atLeast ( integer $count, Webmozart\Expression\Expression $expr ) : AtLeast
$count integer The minimum number of entries that need to match.
$expr Webmozart\Expression\Expression The evaluated expression.
return Webmozart\Expression\Selector\AtLeast The created expression.
    public static function atLeast($count, Expression $expr)
    {
        return new AtLeast($count, $expr);
    }

Usage Example

Beispiel #1
0
 public function orAtLeast($count, Expression $expr)
 {
     return $this->orX(Expr::atLeast($count, $expr));
 }
All Usage Examples Of Webmozart\Expression\Expr::atLeast