protected function processInput($global)
    {
        // check if arguments is of type string
        if (is_array($global)) {
            // we retrieved the array to parse
            $this->input = $global;

        } else {
            // store the array we working on as string
            $this->target = $global;

            // *** IMPORTANT ***
            // we need to reference the global array's like $_GET and $_POST like
            // you see in the following lines (we can reference $_GET in the normal way, but trying to get
            // $_GET referenced at runtime with $$ fails)
            $this->input = $GLOBALS[$global];
        }

        $this->arguments = $this->transformToObject($this->input);
    }