src/Jedrzej/Searchable/Constraint.php
protected static function parseOperatorAndValue($value, $is_negation)
    {
        if ($result = static::parseComparisonOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseLikeOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseNullOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseEqualsInOperator($value, $is_negation)) {
            return $result;
        }

        throw new InvalidArgumentException(sprintf('Unable to parse operator or value from "%s"', $value));
    }
protected static function parseOperatorAndValue($value, $is_negation)
    {
        if ($result = static::parseComparisonOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseLikeOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseNullOperator($value, $is_negation)) {
            return $result;
        }

        if ($result = static::parseEqualsInOperator($value, $is_negation)) {
            return $result;
        }

        throw new InvalidArgumentException(sprintf('Unable to parse operator or value from "%s"', $value));
    }
protected static function parseOperatorAndValue ( $ value , $ is_negation ) { if ( $ result = static :: parseComparisonOperator ( $ value , $ is_negation ) ) { return $ result ; } if ( $ result = static :: parseLikeOperator ( $ value , $ is_negation ) ) { return $ result ; } if ( $ result = static :: parseNullOperator ( $ value , $ is_negation ) ) { return $ result ; } if ( $ result = static :: parseEqualsInOperator ( $ value , $ is_negation ) ) { return $ result ; } throw new InvalidArgumentException ( sprintf ( 'Unable to parse operator or value from "%s"' , $ value ) ) ; }
Parse query parameter and get operator and value.

@param string $value
@param bool $is_negation

@return string[]

@throws InvalidArgumentException when unable to parse operator or value
Parse query parameter and get operator and value .