Esempio n. 1
0
 /**
  * Creates an instance of binary expression node, representing the construction: subject SIMILAR TO value
  *
  * @param mixed $subject logical subject
  * @param mixed $value value to match the subject
  * @return BinaryExpression
  */
 static function similar($subject, $value)
 {
     return new BinaryExpression($subject, BinaryLogicalOperator::similarTo(), $value);
 }