public function get(Connection $connection, string $type): ConstraintInterface
    {
        $driver = $connection->driver();

        if (isset($this->instances[$driver][$type])) {
            return $this->instances[$driver][$type];
        }

        return $this->instances[$driver][$type] = $this->createInstance($connection, $type);
    }
public function get(Connection $connection, string $type): ConstraintInterface
    {
        $driver = $connection->driver();

        if (isset($this->instances[$driver][$type])) {
            return $this->instances[$driver][$type];
        }

        return $this->instances[$driver][$type] = $this->createInstance($connection, $type);
    }
public function get ( Connection $ connection , string $ type ) : ConstraintInterface { $ driver = $ connection -> driver ( ) ; if ( isset ( $ this -> instances [ $ driver ] [ $ type ] ) ) { return $ this -> instances [ $ driver ] [ $ type ] ; } return $ this -> instances [ $ driver ] [ $ type ] = $ this -> createInstance ( $ connection , $ type ) ; }
Get constraint type handler for driver
Get constraint type handler for driver