From c551192b6b8f503fa01a28ea27c4182fa80ee6ce Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sun, 27 Feb 2011 09:03:59 +0100 Subject: [PATCH] DBAL-86 - Fix reference to nonexisting Configuration#setCustomTypes() --- en/reference/basic-mapping.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/en/reference/basic-mapping.rst b/en/reference/basic-mapping.rst index 525b39456..970782279 100644 --- a/en/reference/basic-mapping.rst +++ b/en/reference/basic-mapping.rst @@ -275,13 +275,8 @@ Restrictions to keep in mind: When you have implemented the type you still need to let Doctrine know about it. This can be achieved through the -``Doctrine\DBAL\Configuration#setCustomTypes(array $types)`` -method. ``Doctrine\ORM\Configuration`` is a subclass of -``Doctrine\DBAL\Configuration``, so the methods are available on -your ORM Configuration instance as well. - - -Here is an example: +``Doctrine\DBAL\Types\Type#addType($name, $className)`` +method. See the following example: .. code-block:: php