Here's the problem: I was unable to install doctrine extensions with symphony 2, especially a temporary one. I follow this tutorial
As I continue:
I add these lines to the deps file:
[gedmo-doctrine-extensions] git=http://github.com/l3pp4rd/DoctrineExtensions.git [Stof-DoctrineExtensionsBundle] git=https://github.com/stof/StofDoctrineExtensionsBundle.git target=/bundles/Stof/DoctrineExtensionsBundle
Then I enter the line
./bin/vendors install
Everything is good.
Then I activate the extensions in the corresponding files
# config.yml stof_doctrine_extensions: default_locale: fr_FR orm: default: timestampable: true
Finally, I add an annotation of my essence
/** * @var datetime $updatedAt * * @ORM\Column(name="updated_at", type="datetime") * @Gedmo:Timestampable(on="update") */ private $updatedAt;
But I have this error:
Fatal error: class 'Gedmo \ Timestampable \ TimestampableListener' was not found in /Symfony/app/cache/dev/appDevDebugProjectContainer.php on line 203
What am I doing wrong?
Jiday source share