src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php
public function urlToFormParameters($url)
    {
        $query = parse_url($url, PHP_URL_QUERY);
        $vars = array();
        parse_str($query, $vars);
        return $this->valuesToFormParameters($vars, null);
    }
public function urlToFormParameters($url)
    {
        $query = parse_url($url, PHP_URL_QUERY);
        $vars = array();
        parse_str($query, $vars);
        return $this->valuesToFormParameters($vars, null);
    }
public function urlToFormParameters ( $ url ) { $ query = parse_url ( $ url , PHP_URL_QUERY ) ; $ vars = array ( ) ; parse_str ( $ query , $ vars ) ; return $ this -> valuesToFormParameters ( $ vars , null ) ; }
Url to form parameters

@param string $url
@return array
Url to form parameters