matches() публичный статический Метод

Check that a value matches a regular expression.
public static matches ( string $regExp ) : Matches
$regExp string The regular expression.
Результат Webmozart\Expression\Constraint\Matches The created expression.
Пример #1
0
 public function orMatches($regExp)
 {
     return $this->orX(Expr::matches($regExp));
 }
Пример #2
0
 public function andMatches($regExp)
 {
     return $this->andX(Expr::matches($regExp));
 }