xiidea / EasyAuditBundle

A Symfony Bundle To Log Selective Events
http://xiidea.github.io/EasyAuditBundle/
MIT License
89 stars 22 forks source link

Documentation needs to be corrected #16

Closed DamienHarper closed 6 years ago

DamienHarper commented 6 years ago

In order to track all events for an entity, documentation states to setup configuration as below:

xiidea_easy_audit:
    doctrine_entities :
         MyProject\Bundle\MyBundle\Entity\MyEntity: ~

This does not work, no event is tracked for MyEntity.

But, setting up configuration as below does work:

xiidea_easy_audit:
    doctrine_entities :
         MyProject\Bundle\MyBundle\Entity\MyEntity: []

Documentation should be corrected or code adjusted to follow the doc.

ronisaha commented 6 years ago

It would be helpful if you could send a pull request.