src/Zicht/Bundle/FrameworkExtraBundle/Helper/EmbedHelper.php
public function url($route, $params)
    {
        // use array filter to remove keys with null values
        $params += array_filter($this->getEmbedParams());

        return $this->router->generate($route, $params);
    }
public function url($route, $params)
    {
        // use array filter to remove keys with null values
        $params += array_filter($this->getEmbedParams());

        return $this->router->generate($route, $params);
    }
public function url ( $ route , $ params ) { // use array filter to remove keys with null values $ params += array_filter ( $ this -> getEmbedParams ( ) ) ; return $ this -> router -> generate ( $ route , $ params ) ; }
Generate an embedded url, adding the embedded parameters to the url

@param string $route
@param array $params
@return string
Generate an embedded url adding the embedded parameters to the url