protected function receiveArguments($method = Doozr_Http::REQUEST_METHOD_GET)
    {
        global $_GET, $_POST, $_DELETE, $_PUT;

        // Retrieve parameter/arguments by method
        switch ($method) {

            case Doozr_Http::REQUEST_METHOD_GET:
                /* @var $arguments $_GET */
                $arguments = $_GET;
                break;

            case Doozr_Http::REQUEST_METHOD_POST:
                /* @var $arguments $_POST */
                $arguments = $_POST;
                break;

            case Doozr_Http::REQUEST_METHOD_PUT:
                /* @var $arguments $_PUT */
                $arguments = $_PUT;
                break;

            case Doozr_Http::REQUEST_METHOD_DELETE:
                /* @var $arguments $_DELETE */
                $arguments = $_DELETE;
                break;

            default:
                $arguments = [];
        }

        return $arguments;
    }