protected function prepareForResponse()
    {
        if ($this->preparedForResponse) {
            return;
        }

        $this->loadView();
        $this->loadThemer();
        $this->loadThemerDefaultFiles($this->config);
        $this->loadGlobalViewVariables($this->config);

        if (method_exists($this, 'prepareExtraForResponse')) {
            $this->prepareExtraForResponse();
        }

        $this->preparedForResponse = true;
    }
protected function prepareForResponse()
    {
        if ($this->preparedForResponse) {
            return;
        }

        $this->loadView();
        $this->loadThemer();
        $this->loadThemerDefaultFiles($this->config);
        $this->loadGlobalViewVariables($this->config);

        if (method_exists($this, 'prepareExtraForResponse')) {
            $this->prepareExtraForResponse();
        }

        $this->preparedForResponse = true;
    }
protected function prepareForResponse ( ) { if ( $ this -> preparedForResponse ) { return ; } $ this -> loadView ( ) ; $ this -> loadThemer ( ) ; $ this -> loadThemerDefaultFiles ( $ this -> config ) ; $ this -> loadGlobalViewVariables ( $ this -> config ) ; if ( method_exists ( $ this , 'prepareExtraForResponse' ) ) { $ this -> prepareExtraForResponse ( ) ; } $ this -> preparedForResponse = true ; }
Prepare for a request response

@throws \Laranix\Support\Exception\InvalidInstanceException
@throws \Laranix\Support\Exception\InvalidTypeException
Prepare for a request response