1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Merge pull request #1084 from hartca/master

Update advanced-field-value-conversion-using-custom-mapping-types.rst
This commit is contained in:
Marco Pivetta 2014-07-18 01:25:50 +02:00
commit 499f09fc99

View File

@ -232,7 +232,7 @@ Example usage
// Setup custom mapping type
use Doctrine\DBAL\Types\Type;
Type::addType('point', 'Geo\Types\Point');
Type::addType('point', 'Geo\Types\PointType');
$em->getConnection()->getDatabasePlatform()->registerDoctrineTypeMapping('point', 'point');
// Store a Location object