lib/Doctrine/DBAL/Types/TypeRegistry.php
public function get(string $name) : Type
    {
        if (! isset($this->instances[$name])) {
            throw DBALException::unknownColumnType($name);
        }

        return $this->instances[$name];
    }
public function get(string $name) : Type
    {
        if (! isset($this->instances[$name])) {
            throw DBALException::unknownColumnType($name);
        }

        return $this->instances[$name];
    }
public function get ( string $ name ) : Type { if ( ! isset ( $ this -> instances [ $ name ] ) ) { throw DBALException :: unknownColumnType ( $ name ) ; } return $ this -> instances [ $ name ] ; }
Finds a type by the given name.

@throws DBALException
Finds a type by the given name .