Posts Tagged: timestampabable

Symfony2 and Timestampable example

To add Timestampable behaviour you need to add DoctrineExtentions to your app see my previous post┬áSymfony2 and DoctrineExtensions for information of how to do that. You need to add the following in the top of the Entity use Gedmo\Mapping\Annotation as Gedmo; and then you can use it like this in your entity: /** * @var… Read more »