Example #1
0
 /**
  * Returns a publicly accessible URL for this file
  *
  * WARNING: Access to the file may be restricted by further means, e.g.
  * some web-based authentication. You have to take care of this yourself.
  *
  * @param bool  $relativeToCurrentScript   Determines whether the URL returned should be relative to the current script, in case it is relative at all (only for the LocalDriver)
  * @return string
  */
 public function getPublicUrl($relativeToCurrentScript = false)
 {
     return $this->originalFile->getPublicUrl($relativeToCurrentScript);
 }