public function getAsseticVersionUrl($url)
    {
        $tmp = $this->getParameter('assetic_versions');

        if ($tmp && is_array($tmp)) {
            $tmpUrl = basename($url);
            $url .= '?'.(isset($tmp[$tmpUrl]) && $tmp[$tmpUrl] ? $tmp[$tmpUrl] : (isset($tmp['global']) ? $tmp['global'] : ''));
        }

        return $url;
    }
public function getAsseticVersionUrl($url)
    {
        $tmp = $this->getParameter('assetic_versions');

        if ($tmp && is_array($tmp)) {
            $tmpUrl = basename($url);
            $url .= '?'.(isset($tmp[$tmpUrl]) && $tmp[$tmpUrl] ? $tmp[$tmpUrl] : (isset($tmp['global']) ? $tmp['global'] : ''));
        }

        return $url;
    }
public function getAsseticVersionUrl ( $ url ) { $ tmp = $ this -> getParameter ( 'assetic_versions' ) ; if ( $ tmp && is_array ( $ tmp ) ) { $ tmpUrl = basename ( $ url ) ; $ url .= '?' . ( isset ( $ tmp [ $ tmpUrl ] ) && $ tmp [ $ tmpUrl ] ? $ tmp [ $ tmpUrl ] : ( isset ( $ tmp [ 'global' ] ) ? $ tmp [ 'global' ] : '' ) ) ; } return $ url ; }
Get url with assetic version if configured.

@param string $url

@return string
Get url with assetic version if configured .