SilverStripe\Assets\Storage\GeneratedAssetHandler
Interface to define a handler for persistent generated files
Synopsis
interface GeneratedAssetHandler
{
- // methods
- public string getContentURL()
- public string getContent()
- public void setContent()
- public void removeContent()
Methods
public
- getContent() — Returns the content for a generated asset, if one is available.
- getContentURL() — Returns a URL to a generated asset, if one is available.
- removeContent() — Remove any content under the given file.
- setContent() — Update content with new value