src/Request/RequestAwareTrait.php
public function getRequest($autoInit = false)
    {
        $this->setAutoInitRequest($autoInit);
        if ($this->request == null && $this->isAutoInitRequest()) {
            $this->initRequest();
        }

        return $this->request;
    }
public function getRequest($autoInit = false)
    {
        $this->setAutoInitRequest($autoInit);
        if ($this->request == null && $this->isAutoInitRequest()) {
            $this->initRequest();
        }

        return $this->request;
    }
public function getRequest ( $ autoInit = false ) { $ this -> setAutoInitRequest ( $ autoInit ) ; if ( $ this -> request == null && $ this -> isAutoInitRequest ( ) ) { $ this -> initRequest ( ) ; } return $ this -> request ; }
Get the Request.

@param bool $autoInit
@return Request
Get the Request .