SilverStripe\Assets\File::getURL
Gets the URL of this file
Signature
public function getURL([boolean
$grant = true] )
Parameters
$grant
— boolean- Ensures that the url for any protected assets is granted for the current user.
Returns
- string