atLeast() public static méthode

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.
Résultat Webmozart\Expression\Selector\AtLeast The created expression.
Exemple #1
0
 public function orAtLeast($count, Expression $expr)
 {
     return $this->orX(Expr::atLeast($count, $expr));
 }
Exemple #2
0
 public function andAtLeast($count, Expression $expr)
 {
     return $this->andX(Expr::atLeast($count, $expr));
 }