src/Zicht/Bundle/UrlBundle/Aliasing/Doctrine/CreateAliasSubscriber.php
public function postFlush()
    {
        if (!$this->enabled || $this->isHandling) {
            return;
        }

        $this->isHandling = true;

        $aliaser = $this->container->get($this->aliaserServiceId);

        while (list($record, $action) = array_shift($this->records)) {
            $aliaser->createAlias($record, $action);
        }

        $this->isHandling = false;
    }
public function postFlush()
    {
        if (!$this->enabled || $this->isHandling) {
            return;
        }

        $this->isHandling = true;

        $aliaser = $this->container->get($this->aliaserServiceId);

        while (list($record, $action) = array_shift($this->records)) {
            $aliaser->createAlias($record, $action);
        }

        $this->isHandling = false;
    }
public function postFlush ( ) { if ( ! $ this -> enabled || $ this -> isHandling ) { return ; } $ this -> isHandling = true ; $ aliaser = $ this -> container -> get ( $ this -> aliaserServiceId ) ; while ( list ( $ record , $ action ) = array_shift ( $ this -> records ) ) { $ aliaser -> createAlias ( $ record , $ action ) ; } $ this -> isHandling = false ; }
Create the aliases

@return void
Create the aliases