public function getFullUrl(
        $module = self::DEFAULT_MODULE,
        $controller = self::DEFAULT_CONTROLLER,
        array $params = []
    ): string {
        $scheme = Request::getUri()->getScheme() . '://';
        $host = Request::getUri()->getHost();
        $port = Request::getUri()->getPort();
        if ($port && !\in_array($port, [80, 443], true)) {
            $host .= ':' . $port;
        }
        $url = $this->getUrl($module, $controller, $params);
        return $scheme . $host . $url;
    }
public function getFullUrl(
        $module = self::DEFAULT_MODULE,
        $controller = self::DEFAULT_CONTROLLER,
        array $params = []
    ): string {
        $scheme = Request::getUri()->getScheme() . '://';
        $host = Request::getUri()->getHost();
        $port = Request::getUri()->getPort();
        if ($port && !\in_array($port, [80, 443], true)) {
            $host .= ':' . $port;
        }
        $url = $this->getUrl($module, $controller, $params);
        return $scheme . $host . $url;
    }
public function getFullUrl ( $ module = self :: DEFAULT_MODULE , $ controller = self :: DEFAULT_CONTROLLER , array $ params = [ ] ) : string { $ scheme = Request :: getUri ( ) -> getScheme ( ) . '://' ; $ host = Request :: getUri ( ) -> getHost ( ) ; $ port = Request :: getUri ( ) -> getPort ( ) ; if ( $ port && ! \ in_array ( $ port , [ 80 , 443 ] , true ) ) { $ host .= ':' . $ port ; } $ url = $ this -> getUrl ( $ module , $ controller , $ params ) ; return $ scheme . $ host . $ url ; }
Build full URL to controller

@param  string $module
@param  string $controller
@param  array  $params

@return string
Build full URL to controller