public function request($name = null, $default = null)
    {
        if ($name) {
            return $this->request->request->get($name, $default);
        }

        return $this->request->request->all();
    }