src/includes/classes/Core/Utils/Url.php
public function toApiWsCore(string $uri = '', string $scheme = ''): string
    {
        if ($this->App->Parent) { // Looking for the root core.
            return $this->App->Parent->Utils->©Url->toApiWsCore($uri, $scheme);
        }
        if (!$this->App->is_ws_core) {
            $uri = $uri ? $this->c::mbLTrim($uri, '/') : '';
            $uri = $uri ? '/'.$uri : ''; // Force leading slash.
            $uri = '/vendor/websharks/core/src'.$uri;
        }
        return $this->toApi($uri, $scheme);
    }
public function toApiWsCore(string $uri = '', string $scheme = ''): string
    {
        if ($this->App->Parent) { // Looking for the root core.
            return $this->App->Parent->Utils->©Url->toApiWsCore($uri, $scheme);
        }
        if (!$this->App->is_ws_core) {
            $uri = $uri ? $this->c::mbLTrim($uri, '/') : '';
            $uri = $uri ? '/'.$uri : ''; // Force leading slash.
            $uri = '/vendor/websharks/core/src'.$uri;
        }
        return $this->toApi($uri, $scheme);
    }
Build 17xxxx WS core URL.

@since 17xxxx URL utilities.

@param string $uri    URI to append.
@param string $scheme Specific scheme?

@return string Output URL.