Exemplo n.º 1
0
 /**
  * @param AssetInterface $asset
  * @return string
  */
 public function getUrlForAsset(AssetInterface $asset)
 {
     return static::UPLOADS_BASE_DIR . $asset->getRelativeUrl();
 }
 /**
  * @param AssetInterface $asset
  * @return string
  */
 public function getUrlForAsset(AssetInterface $asset)
 {
     return $this->cloudfrontEndpoint . "/" . $asset->getRelativeUrl();
 }