Firebrand\Hail\Tasks\FetchRecurringTask
Task to fetch all fetchable objects from the Hail API since last fetch
- Author: Marc Espiard, Firebrand
Synopsis
class FetchRecurringTask
extends BuildTask
{
- // members
- private static string $segment = "hail-fetch-recurring";
- protected string $title = "Hail Recurring Fetch Task";
- protected string $description = 'Will fetch all Hail objects since last fetch';
- // methods
- public void run()
- public static void sendException()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $segment
protected
- $description
- $title
Methods
public
- run()
- sendException() — Send exception to configured emails