protected function request(string $name)
    {
        if (! $this->considerRequest || ! isset($this->request)) {
            return null;
        }

        return $this->request->input($this->transformKey($name));
    }