title: Tag your Doctrine entities easily with FPNTagBundle
body: <p>I'm trying to use <a href="https://github.com/FabienPennequin/FPNTagBundle" rel="nofollow">https://github.com/FabienPennequin/FPNTagBundle</a> bundle in a sf2.1 project. All done as documentation (with annotations) but i get this error:</p>
  
  <blockquote>
    <p>Catchable Fatal Error: Argument 1 passed to
    DoctrineExtensions\Taggable\TagManager::loadTagging() must be an
    instance of DoctrineExtensions\Taggable\Taggable, instance of
    Acme\TagBundle\Entity\Document given, called in
    /project/src/Acme/TagBundle/Controller/DocumentController.php on line
    111 and defined in
    /project/vendor/fpn/doctrine-extensions-taggable/lib/DoctrineExtensions/Taggable/TagManager.php
    line 201</p>
  </blockquote>
  
  <p>Plus, when I send php app/console doctrine:generate:entities Acme I get this:</p>
  
  <blockquote>
    <p>Generating entities for namespace "Acme"</p>
    
    <p>[ErrorException]</p>
    
    <p>Runtime Notice: Declaration of Acme\TagBundle\Entity\Tagging::setTag()
    should be compatible with
    DoctrineExtensions\Taggable\Entity\Tagging::setTag(DoctrineExtensions\Taggable\Entity\Tag
    $tag) in /projects/bazar/project/src/Acme/TagBundle/Entity/Tagging.php
    line 22</p>
  </blockquote>
  
  <p>May you help me?</p>