AutomationTypeInterface
Simple interface for defining automation type methods
Methods
canRun()
Determines whether the automation type can be run given a date
public
canRun(string $date) : bool
Parameters
- $date : string
-
A date timestamp representing the date the automation type may be run at
Return values
bool —True if the automation type may be run, or false otherwise
raw()
Retrieves the raw automation data
public
raw() : mixed
Return values
mixed —The raw automation data