src/Graviton/SchemaBundle/Constraint/Builder/RangeConstraintBuilder.php
public function supportsConstraint($type, array $options = [])
    {
        if (in_array($type, $this->types)) {
            $this->type = $type;
            return true;
        }

        return false;
    }
public function supportsConstraint($type, array $options = [])
    {
        if (in_array($type, $this->types)) {
            $this->type = $type;
            return true;
        }

        return false;
    }
public function supportsConstraint ( $ type , array $ options = [ ] ) { if ( in_array ( $ type , $ this -> types ) ) { $ this -> type = $ type ; return true ; } return false ; }
if this builder supports a given constraint

@param string $type    Field type
@param array  $options Options

@return bool
if this builder supports a given constraint