1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

DBAL-86 - Fix reference to nonexisting Configuration#setCustomTypes()

This commit is contained in:
Benjamin Eberlei 2011-02-27 09:03:59 +01:00
parent d0ae95604f
commit c551192b6b

View file

@ -275,13 +275,8 @@ Restrictions to keep in mind:
When you have implemented the type you still need to let Doctrine When you have implemented the type you still need to let Doctrine
know about it. This can be achieved through the know about it. This can be achieved through the
``Doctrine\DBAL\Configuration#setCustomTypes(array $types)`` ``Doctrine\DBAL\Types\Type#addType($name, $className)``
method. ``Doctrine\ORM\Configuration`` is a subclass of method. See the following example:
``Doctrine\DBAL\Configuration``, so the methods are available on
your ORM Configuration instance as well.
Here is an example:
.. code-block:: php .. code-block:: php