src/Graviton/RabbitMqBundle/Listener/EventStatusLinkResponseListener.php
private function getWorkerRelativeUrl($uri)
    {
        $uri = new Uri($uri);
        $uri = $uri
            ->withHost($this->workerRelativeUrl->getHost())
            ->withScheme($this->workerRelativeUrl->getScheme())
            ->withPort($this->workerRelativeUrl->getPort());
        return (string) $uri;
    }
private function getWorkerRelativeUrl($uri)
    {
        $uri = new Uri($uri);
        $uri = $uri
            ->withHost($this->workerRelativeUrl->getHost())
            ->withScheme($this->workerRelativeUrl->getScheme())
            ->withPort($this->workerRelativeUrl->getPort());
        return (string) $uri;
    }
private function getWorkerRelativeUrl ( $ uri ) { $ uri = new Uri ( $ uri ) ; $ uri = $ uri -> withHost ( $ this -> workerRelativeUrl -> getHost ( ) ) -> withScheme ( $ this -> workerRelativeUrl -> getScheme ( ) ) -> withPort ( $ this -> workerRelativeUrl -> getPort ( ) ) ; return ( string ) $ uri ; }
changes an uri for the workers

@param string $uri uri

@return string changed uri
changes an uri for the workers