protected function getId(Select $query)
    {
        $str = $query->getQueryString();
        $search = array_keys($query->getParameters());
        $values = array_values($query->getParameters());
        return str_replace($search, $values, $str);
    }
protected function getId(Select $query)
    {
        $str = $query->getQueryString();
        $search = array_keys($query->getParameters());
        $values = array_values($query->getParameters());
        return str_replace($search, $values, $str);
    }
protected function getId ( Select $ query ) { $ str = $ query -> getQueryString ( ) ; $ search = array_keys ( $ query -> getParameters ( ) ) ; $ values = array_values ( $ query -> getParameters ( ) ) ; return str_replace ( $ search , $ values , $ str ) ; }
Gets the id for this query

@param Select $query

@return string
Gets the id for this query