Restruct\Silverstripe\AdminTweaks\Jobs\ScheduledMethodCall::__construct
ScheduledMethodCall constructor
Signature
public function __construct(DataObject|object|string
$ObjectOrClass,
string
$method,
[null
$description = NULL,
[null|array
$arguments = NULL,
[null|string
$jobType = NULL,
[null|int
$totalSteps = NULL,
[null|bool
$generateRandomSignature = NULL]]]]] )
Parameters
$ObjectOrClass
— object- to call method on (if object, will be instantiated as singleton)
$method
— string- method to call each time this job gets processed
$description
— null- of this job
$arguments
— object
$jobType
— object
$totalSteps
— object
$generateRandomSignature
— object