]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Snippet.orm.yml
Change times
[airbundle] / Resources / config / doctrine / Snippet.orm.yml
index 4b172d65073fdbf91545a1ccffcf147be0154d2a..85253f3232a182c8d28cc598ae9e96f208d051c7 100644 (file)
@@ -52,3 +52,5 @@ Rapsys\AirBundle\Entity\Snippet:
     uniqueConstraints:
         locale_location_user:
             columns: [ locale, location_id, user_id ]
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']