diff --git a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php index 2a64c36a4..d25723adc 100644 --- a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php +++ b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php @@ -38,6 +38,7 @@ use Chill\MainBundle\Form\LocationTypeType; use Chill\MainBundle\Form\UserJobType; use Chill\MainBundle\Form\UserType; use Exception; +use Ramsey\Uuid\Doctrine\UuidType; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; @@ -229,12 +230,9 @@ class ChillMainExtension extends Extension implements 'geometry' => 'string', ], 'types' => [ - 'dateinterval' => [ - 'class' => NativeDateIntervalType::class, - ], - 'point' => [ - 'class' => PointType::class, - ], + 'dateinterval' => NativeDateIntervalType::class, + 'point' => PointType::class, + 'uuid' => UuidType::class ], ], ]