src/Charcoal/Admin/Support/HttpAwareTrait.php
public function httpRequest()
    {
        if ($this->httpRequest === null) {
            throw new RuntimeException(sprintf(
                'PSR-7 HTTP Request is not defined for "%s"',
                get_class($this)
            ));
        }

        return $this->httpRequest;
    }
public function httpRequest()
    {
        if ($this->httpRequest === null) {
            throw new RuntimeException(sprintf(
                'PSR-7 HTTP Request is not defined for "%s"',
                get_class($this)
            ));
        }

        return $this->httpRequest;
    }
public function httpRequest ( ) { if ( $ this -> httpRequest === null ) { throw new RuntimeException ( sprintf ( 'PSR-7 HTTP Request is not defined for "%s"' , get_class ( $ this ) ) ) ; } return $ this -> httpRequest ; }
Retrieve the HTTP request.

@throws RuntimeException If the HTTP request was not previously set.
@return RequestInterface
Retrieve the HTTP request .