SilverCommerce\ShoppingCart\Tasks\CleanExpiredEstimatesTask
Simple task that removes estimates that have passed their end date and are not assigned to a customer.
- Author: ilateral (http://www.ilateral.co.uk)
Synopsis
class CleanExpiredEstimatesTask
extends BuildTask
{
- // members
- protected string $title = 'Clean expired estimates';
- protected string $description = 'Clean all estimates that are past their expiration date and have no users assifgned';
- protected boolean $enabled = true;
- protected boolean $silent = false;
- // methods
- public boolean getSilent()
- public CleanExpiredEstimatesTask setSilent()
- public void run()
- private void log()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description
- $enabled
- $silent
—
boolean
Should this task output commands - $title