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

Update advanced-field-value-conversion-using-custom-mapping-types.rst

This commit is contained in:
hartca 2014-07-18 00:10:47 +01:00
parent 205a5de4e5
commit 0ab2672872

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