src/Zicht/Bundle/UrlBundle/Aliasing/Aliasing.php
protected function save(UrlAlias $alias)
    {
        $this->manager->persist($alias);

        if ($this->isBatch) {
            $this->batch[$alias->getPublicUrl()] = $alias;
        } else {
            $this->manager->flush($alias);
        }
    }
protected function save(UrlAlias $alias)
    {
        $this->manager->persist($alias);

        if ($this->isBatch) {
            $this->batch[$alias->getPublicUrl()] = $alias;
        } else {
            $this->manager->flush($alias);
        }
    }
protected function save ( UrlAlias $ alias ) { $ this -> manager -> persist ( $ alias ) ; if ( $ this -> isBatch ) { $ this -> batch [ $ alias -> getPublicUrl ( ) ] = $ alias ; } else { $ this -> manager -> flush ( $ alias ) ; } }
Persist the URL alias.

@param \Zicht\Bundle\UrlBundle\Entity\UrlAlias $alias
@return void
Persist the URL alias .