Set the current request instance.

@param  Request $request
@return void
554244
public function setRequest( Request $request )
	{
		$this->request = $request;

		$this->cachedRoot = null;
		$this->cachedSchema = null;
	}
1228368
public function defineState(Request $request)
    {
        $this->initialize();

        if ($request->server->get('SERVER_ADDR') === null) {
            $request->server->set('SERVER_ADDR', gethostbyname($request->getHost()));
        }
        $request->server->set('REQUEST_URI', $request->getRequestUri());
        $request->overrideGlobals();

        $this->state = self::STATE_INNER_CONTENT;
    }
906904
final public function setWebRequest(WebRequest $request)
    {
        if (self::$csrfValidation && $request->server('REQUEST_METHOD') == 'POST'){
            CsrfProtection::singleton()->validateHeaders($request);
            CsrfProtection::singleton()->validateCookie($request);
        }

        $this->request = $request;

        $this->parseRequest($request);
        $this->view->setWebRequest($request);

        $this->model->onAfterRequestSet();
        $this->onStateRestored();
    }
715578
public function setRequest(BaseRequest $request)
    {
        foreach ($request as $prop => $value) {
            $this->$prop = $value;
        }
    }
571090
public function init($request)
    {
        $oGenerator = oxNew(\OxidEsales\Eshop\Core\DbMetaDataHandler::class);
        $oGenerator->updateViews();
    }
1070753
public function setRequest(\WowApi\Request\RequestInterface $request)
    {
        $request->setClient($this);
        $this->request = $request;
    }
695484
public static function setRequest(RequestInterface $request)
    {
        $coroutineId = self::getCoroutineId();
        self::$context[$coroutineId][self::REQUEST_KEY] = $request;
    }
379550
public function setRequest($request)
    {
        if (is_string($request) && class_exists($request)) {
            $request = new $request();
            if (!$request instanceof Zend_Amf_Request) {
                require_once 'Zend/Amf/Server/Exception.php';
                throw new Zend_Amf_Server_Exception('Invalid request class');
            }
        } elseif (!$request instanceof Zend_Amf_Request) {
            require_once 'Zend/Amf/Server/Exception.php';
            throw new Zend_Amf_Server_Exception('Invalid request object');
        }
        $this->_request = $request;
        return $this;
    }
201558
public function setRequest(Request $request)
    {
        $context = (new RequestContext())->fromRequest($request);

        $this->cachedRoot = null;
        $this->cachedSchema = null;
        return $this->setContext($context);
    }
303854
public function setRequest(SimplifiedRequest $request)
    {
        if (!$this->element) {
            $this->setMatchElement($request->pathinfo);
        }

        parent::setRequest($request);
    }
874128
protected function doRequest(Request $request)
    {

        $this->client->send($request, $response = new Response());

        return $response;
    }
265440
public function init($request)
    {
        $sElementTable = $request->getParameter("elementtable");
        $sShopId = $request->getParameter("shopid");
        $sParentShopId = $request->getParameter("parentshopid");
        $sElementId = $request->getParameter("elementid");
        if ($sElementId) {
            $this->assignElementToSubShop($sElementTable, $sShopId, $sElementId);
        } else {
            $this->assignAllElementsToSubShop($sElementTable, $sShopId, $sParentShopId);
        }
    }
520501
public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
        
        if (is_null($response)) {
            $response = $this->dispatchToRoute($request);
        }
        
        return $this->prepareResponse($request, $response);
    }
758282
protected function parseDefaults(Request $request)
    {
        $this->ipv4         = ip2long($request->getClientIp());
        $this->userAgent    = $request->server('HTTP_USER_AGENT');
        $this->method       = $request->getMethod();
        $this->url          = urlSelf();

        if ($this->user === -1) {
            /** @var \Laranix\Auth\User\User $user */
            $user = $request->user();

            $this->user = $user === null ? null : $user->getAuthIdentifier();
        }
    }
813246
protected function validate(Request $request)
    {
        $validator = $this->resolveValidator($request);

        if ($validator) {
            $validator->validate($request);
        }
    }
505894
public function setRouter($request)
    {
        $this->container->set('request', $request);
        $this->container->make(\Cygnite\Router\Router::class);
        $this->container->get('router')->setRequest($request);
        $this->router = $this->container->get('router');
    }
385657
public function save(\Illuminate\Http\Request $request)
    {
        $value = $this->getValueFromRequest($request);

        if ($request->input($this->getPath().'_remove')) {
            $this->setModelAttribute(null);
        } elseif (! is_null($value)) {
            $this->setModelAttribute($value);
        }
    }