get params querys from get request php

Solution:

Try this:

protected function getQueryStringParams()
    {
        return $_GET;
    }

Answer

Solution:

I recommend using $_REQUEST. It gets not only GET, but even POST, PUT etc.

You can get the details here.

Code will look something like this:

protected function getQueryStringParams()
{
    return $_REQUEST;
}

Source