private function prepareRouterContext()
    {
        if ($this->generatedRouteHost) {
            $this
                ->router
                ->setContext($this->modifiedContext);

            /**
             * When a Host is set for the image route,
             * we need to change the route context URL.
             */
            $this
                ->router
                ->getContext()
                ->setHost($this->generatedRouteHost);
        }
    }
private function prepareRouterContext()
    {
        if ($this->generatedRouteHost) {
            $this
                ->router
                ->setContext($this->modifiedContext);

            /**
             * When a Host is set for the image route,
             * we need to change the route context URL.
             */
            $this
                ->router
                ->getContext()
                ->setHost($this->generatedRouteHost);
        }
    }
private function prepareRouterContext ( ) { if ( $ this -> generatedRouteHost ) { $ this -> router -> setContext ( $ this -> modifiedContext ) ; /**
             * When a Host is set for the image route,
             * we need to change the route context URL.
             */ $ this -> router -> getContext ( ) -> setHost ( $ this -> generatedRouteHost ) ; } }
Prepares the Host part of a image resize URL.

@return mixed Route reference type
Prepares the Host part of a image resize URL .