Neos\Flow\ResourceManagement\Publishing\ResourcePublisher::getPersistentResourceWebUri PHP Method

getPersistentResourceWebUri() public method

Returns the URI pointing to the published persistent resource
Deprecation: since Flow 3.0. Use ResourceManager->getPublicPersistentResourceUri($resource) instead
public getPersistentResourceWebUri ( PersistentResource $resource ) : mixed
$resource Neos\Flow\ResourceManagement\PersistentResource The resource to publish
return mixed Either the web URI of the published resource or FALSE if the resource source file doesn't exist or the resource could not be published for other reasons
    public function getPersistentResourceWebUri(PersistentResource $resource)
    {
        $this->systemLogger->log('The deprecated method ResourcePublisher->getPersistentResourceWebUri() has been called' . $this->getCallee() . '. Please use ResourceManager->getPublicPersistentResourceUri() instead!', LOG_WARNING);
        return $this->resourceManager->getPublicPersistentResourceUri($resource);
    }