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.
示例#1
0
 public function orAtLeast($count, Expression $expr)
 {
     return $this->orX(Expr::atLeast($count, $expr));
 }
示例#2
0
 public function andAtLeast($count, Expression $expr)
 {
     return $this->andX(Expr::atLeast($count, $expr));
 }