CWP\PDFExport\Tasks\CleanupGeneratedPdfBuildTask
Synopsis
class CleanupGeneratedPdfBuildTask
extends BuildTask
{
- // members
- private static string $segment = 'CleanupGeneratedPdfBuildTask';
- protected string $title = 'Cleanup generated PDFs';
- protected object $description = 'Removes generated PDFs on the site, forcing a regeneration of all exports to PDF ' . 'when users go to download them. This is most useful when templates have been changed so users should ' . 'receive a new copy;
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
protected
- $description
- $title