public function getPublicPersistentResourceUri(PersistentResource $resource)
    {
        $this->initialize();

        if (!isset($this->collections[$resource->getCollectionName()])) {
            return false;
        }
        /** @var TargetInterface $target */
        $target = $this->collections[$resource->getCollectionName()]->getTarget();

        return $target->getPublicPersistentResourceUri($resource);
    }