exactly() public static method

Check that exactly N entries of a traversable value match an expression.
public static exactly ( integer $count, Webmozart\Expression\Expression $expr ) : Exactly
$count integer The number of entries that need to match.
$expr Webmozart\Expression\Expression The evaluated expression.
return Webmozart\Expression\Selector\Exactly The created expression.
Esempio n. 1
0
 public function orExactly($count, Expression $expr)
 {
     return $this->orX(Expr::exactly($count, $expr));
 }
Esempio n. 2
0
 public function andExactly($count, Expression $expr)
 {
     return $this->andX(Expr::exactly($count, $expr));
 }