public function getResourcePath(ResourceInterface $resource, $absolute = false)
    {
        return $this->resourceManager->getFileUrl($resource, $absolute);
    }
public function getResourcePath(ResourceInterface $resource, $absolute = false)
    {
        return $this->resourceManager->getFileUrl($resource, $absolute);
    }
@param ResourceInterface $resource
@param bool              $absolute

@throws \Exception

@return string