Doctrine\MongoDB\Aggregation\Stage\Operator::strcasecmp PHP Method

strcasecmp() public method

0 if the two strings are equal. -1 if the first string is “less than” the second string. The arguments can be any valid expression as long as they resolve to strings.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/strcasecmp/
See also: Expr::strcasecmp
public strcasecmp ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr
    public function strcasecmp($expression1, $expression2)
    {
        $this->expr->strcasecmp($expression1, $expression2);
        return $this;
    }