A basic demonstration of how worker jobs run, using WorkerBase
This is the code documentation for the SproutCMS project
Search documentation |
class DemoWorkerA basic demonstration of how worker jobs run, using WorkerBase
Variables
Functions
public __construct (from WorkerBase)void $WorkerBase->__construct ( ); Constructor Manually checks if the method 'run' exists, because it's a varags, so can't use the normal abstract function approach public getMetricNames (from WorkerBase)unknown $WorkerBase->getMetricNames ( ); Gets the job name public getName (from WorkerBase)unknown $WorkerBase->getName ( ); Gets the job name public runvoid $DemoWorker->run ( mixed $a , mixed $b , mixed $c ); Do the work which a worker must do |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |