public function getPersistenceHelper()
    {
        if (null === $this->persistenceHelper) {
            $this->persistenceHelper = new Doctrine\ORM\PersistenceHelper(
                $this->em,
                $this->getPersistenceEventQueue()
            );
        }

        return $this->persistenceHelper;
    }
public function getPersistenceHelper()
    {
        if (null === $this->persistenceHelper) {
            $this->persistenceHelper = new Doctrine\ORM\PersistenceHelper(
                $this->em,
                $this->getPersistenceEventQueue()
            );
        }

        return $this->persistenceHelper;
    }
public function getPersistenceHelper ( ) { if ( null === $ this -> persistenceHelper ) { $ this -> persistenceHelper = new Doctrine \ ORM \ PersistenceHelper ( $ this -> em , $ this -> getPersistenceEventQueue ( ) ) ; } return $ this -> persistenceHelper ; }
Returns the persistence helper.

@return Persistence\PersistenceHelperInterface
Returns the persistence helper .