src/Kunstmaan/TaggingBundle/EventListener/TagsListener.php
public function postPersist(LifecycleEventArgs $args)
    {
        $entity = $args->getEntity();

        if ($entity instanceof Taggable) {
            $this->getTagManager()->saveTagging($entity);
        }
    }
public function postPersist(LifecycleEventArgs $args)
    {
        $entity = $args->getEntity();

        if ($entity instanceof Taggable) {
            $this->getTagManager()->saveTagging($entity);
        }
    }
public function postPersist ( LifecycleEventArgs $ args ) { $ entity = $ args -> getEntity ( ) ; if ( $ entity instanceof Taggable ) { $ this -> getTagManager ( ) -> saveTagging ( $ entity ) ; } }
Runs the postPersist doctrine event and updates the current flag if needed

@param \Doctrine\ORM\Event\LifecycleEventArgs $args
Runs the postPersist doctrine event and updates the current flag if needed