eZ\Publish\Core\REST\Common\FieldTypeProcessor\BinaryProcessor::generateUrl PHP Метод

generateUrl() защищенный Метод

Generates a URL for $path.
protected generateUrl ( string $path ) : string
$path string absolute url
Результат string
    protected function generateUrl($path)
    {
        $url = $path;
        if ($this->hostPrefix) {
            // url should start with a /
            $url = $this->hostPrefix . $url;
        }
        return $url;
    }