Class AbstractTask
Base abstract class from which executable automation tasks may extend. Also provides for logging task output.
- Blesta\Core\Automation\Tasks\Common\AbstractTask implements Blesta\Core\Automation\Tasks\Common\LoggableInterface, Blesta\Core\Automation\Tasks\Common\RunnableInterface
Direct known subclasses
Blesta\Core\Automation\Tasks\Common\StaffNoticeTask, Blesta\Core\Automation\Tasks\Task\ApplyInvoiceLateFees, Blesta\Core\Automation\Tasks\Task\DeliverReports, Blesta\Core\Automation\Tasks\Task\ExchangeRates, Blesta\Core\Automation\Tasks\Task\LicenseValidation, Blesta\Core\Automation\Tasks\Task\Module, Blesta\Core\Automation\Tasks\Task\PaymentReminders, Blesta\Core\Automation\Tasks\Task\Plugin, Blesta\Core\Automation\Tasks\Task\ProcessServiceChanges, Blesta\Core\Automation\Tasks\Task\ApplyPayments, Blesta\Core\Automation\Tasks\Task\Autodebit, Blesta\Core\Automation\Tasks\Task\BackupsAmazons3, Blesta\Core\Automation\Tasks\Task\BackupsSftp, Blesta\Core\Automation\Tasks\Task\CardExpirationReminders, Blesta\Core\Automation\Tasks\Task\CleanupLogs, Blesta\Core\Automation\Tasks\Task\CreateInvoices, Blesta\Core\Automation\Tasks\Task\DeliverInvoicesIndirect known subclasses
Blesta\Core\Automation\Tasks\Task\CancelScheduledServices, Blesta\Core\Automation\Tasks\Task\ProcessRenewingServices, Blesta\Core\Automation\Tasks\Task\ProvisionPendingServices, Blesta\Core\Automation\Tasks\Task\SuspendServices, Blesta\Core\Automation\Tasks\Task\UnsuspendServices
Abstract
Namespace: Blesta\Core\Automation\Tasks\Common
Package: blesta\core\Automation\Tasks\Common
Copyright: Copyright (c) 2018, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Automation/Tasks/Common/AbstractTask.php
Namespace: Blesta\Core\Automation\Tasks\Common
Package: blesta\core\Automation\Tasks\Common
Copyright: Copyright (c) 2018, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Automation/Tasks/Common/AbstractTask.php
public
|
#
__construct(
Initialize a new task |
abstract protected
boolean
|
|
protected
boolean
|
|
public
|
|
public
|
#
loadLanguage( string $directory = null, string $langCode = null, string $filename = null )
Attempts to load a language file for use |
public
|
|
public
|
|
protected
|
run()
|
protected
Minphp\Date\Date
|
$date
An instance of Minphp\Date\Date |
|
protected
The
|
$logger
monolog logger |
|
protected
An
|
$options
array of options for this task:
|
#
[]
|
protected
An
|
$task
instance of the task |