Upperstage
Upperstage

Reputation: 3757

Simple Example of Custom Annotations using Symfony2

I am familiar with the Doctrine Documentation about custom annotations, but I am looking for a simple example.

I would like to create an entry in a audit table using an annotation (user, date, action, etc.) when a user creates or updates a widget.

Can you point me to a simple example?

Upvotes: 10

Views: 18576

Answers (1)

fsenart
fsenart

Reputation: 5891

Here is a good example of using Symfony2 with Doctrine Common in order to create powerful annotations.

Upvotes: 29

Related Questions