Neos\Flow\ResourceManagement\Publishing\ResourcePublisher::getPersistentResourceWebUri PHP Méthode

getPersistentResourceWebUri() public méthode

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
Résultat 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);
    }