contains() public static method

Check that a value contains a given string.
public static contains ( string $string ) : Contains
$string string The sub-string.
return Webmozart\Expression\Constraint\Contains The created expression.
コード例 #1
0
ファイル: OrX.php プロジェクト: webmozart/expression
 public function orContains($string)
 {
     return $this->orX(Expr::contains($string));
 }
コード例 #2
0
ファイル: AndX.php プロジェクト: webmozart/expression
 public function andContains($string)
 {
     return $this->andX(Expr::contains($string));
 }