guilhermeblanco/ZendFramework1-Doctrine2 — pull request #47 by jappie (2012-10-04 15:05:55+00:00)
Title: Allow overriding of existing mapping types

The configuration option `resources.doctrine.dbal.connections.default.types[]` can only be used to add new mapping types to Doctrine. But I also need support for overriding existing mapping types.

This PR simply checks if a mapping type already exists with `Type::hasType()`. If so, overrides it with `Type::overrideType()`. If not, adds it with `Type::addType()`.