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

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

        return $this->request->input($this->transformKey($name));
    }
protected function request ( string $ name ) { if ( ! $ this -> considerRequest || ! isset ( $ this -> request ) ) { return null ; } return $ this -> request -> input ( $ this -> transformKey ( $ name ) ) ; }
Get value from current Request.

@param string $name

@return array|string|null
Get value from current Request .