src/Jedrzej/Searchable/Constraint.php
public static function make($value)
    {
        $value = static::prepareValue($value);
        $is_negation = static::parseIsNegation($value);
        list($operator, $value) = static::parseOperatorAndValue($value, $is_negation);

        return new static($operator, $value, $is_negation);
    }
public static function make($value)
    {
        $value = static::prepareValue($value);
        $is_negation = static::parseIsNegation($value);
        list($operator, $value) = static::parseOperatorAndValue($value, $is_negation);

        return new static($operator, $value, $is_negation);
    }
public static function make ( $ value ) { $ value = static :: prepareValue ( $ value ) ; $ is_negation = static :: parseIsNegation ( $ value ) ; list ( $ operator , $ value ) = static :: parseOperatorAndValue ( $ value , $ is_negation ) ; return new static ( $ operator , $ value , $ is_negation ) ; }
Creates constraint object for given filter.

@param string $value query value

@return Constraint
Creates constraint object for given filter .