Permalink
Browse files

StofDoctrineExtensionBundle installed

added created_at and updated_at fields to User.php
  • Loading branch information...
inmarelibero committed Oct 24, 2012
1 parent 0013af2 commit ec8b618deb1e6457d2f9d8380e20e8af5b2653a5
Showing with 303 additions and 98 deletions.
  1. +3 −0 app/AppKernel.php
  2. +6 −8 app/config/config.yml
  3. +3 −1 composer.json
  4. +212 −89 composer.lock
  5. +79 −0 src/Bricks/UserBundle/Entity/User.php
View
@@ -23,6 +23,9 @@ public function registerBundles()
// FOSUserBundle
new FOS\UserBundle\FOSUserBundle(),
+ // StofDoctrineExtensionsBundle
+ new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
+
// Bricks bundles
new Bricks\SiteBundle\BricksSiteBundle(),
new Bricks\UserBundle\BricksUserBundle(),
View
@@ -70,11 +70,9 @@ fos_user:
email:
template: BricksUserBundle:Resetting:resetting.email.twig
-
-
-
-
-
-
-
-
+stof_doctrine_extensions:
+ default_locale: %locale%
+ orm:
+ default:
+ timestampable: true
+ sluggable: true
View
@@ -20,7 +20,9 @@
"jms/di-extra-bundle": "1.1.*",
"friendsofsymfony/user-bundle": "*",
- "leafo/lessphp": "dev-master"
+ "leafo/lessphp": "dev-master",
+
+ "stof/doctrine-extensions-bundle": "dev-master"
},
"scripts": {
"post-install-cmd": [
Oops, something went wrong.

0 comments on commit ec8b618

Please sign in to comment.