SproutCMS

This is the code documentation for the SproutCMS project

class WorkerBase

Base class for worker jobs, which are run via CLI in a separate process

Source code (12 results)

/modules/Demo/Helpers/DemoWorker.php   Highlighted file source

Line 18: use Sprout\Helpers\WorkerBase;
Line 22: * A basic demonstration of how worker jobs run, using {@see WorkerBase}
Line 24: class DemoWorker extends WorkerBase

/sprout/Controllers/WorkerJobController.php   Highlighted file source

Line 22: * Runs worker jobs (i.e. Helpers which extend {@see WorkerBase})
Line 43: $inst = Sprout::instance($job['class_name'], 'Sprout\Helpers\WorkerBase');

/sprout/Controllers/WorkerJobController.php   Highlighted file source

Line 22: * Runs worker jobs (i.e. Helpers which extend {@see WorkerBase})
Line 43: $inst = Sprout::instance($job['class_name'], 'Sprout\Helpers\WorkerBase');

/sprout/Helpers/WorkerBase.php   Highlighted file source

Line 20: abstract class WorkerBase {

/sprout/Helpers/WorkerCtrl.php   Highlighted file source

Line 51: if (!($inst instanceof WorkerBase)) {

/sprout/Helpers/WorkerLinkChecker.php   Highlighted file source

Line 21: class WorkerLinkChecker extends WorkerBase

/sprout/Helpers/WorkerRedoSizes.php   Highlighted file source

Line 17: class WorkerRedoSizes extends WorkerBase

/sprout/Helpers/WorkerRedoSizes.php   Highlighted file source

Line 17: class WorkerRedoSizes extends WorkerBase

/sprout/tests/sproutTest.php   Highlighted file source

Line 235: Sprout::instance('Sprout\Helpers\WorkerBase');

/sprout/tests/sproutTest.php   Highlighted file source

Line 235: Sprout::instance('Sprout\Helpers\WorkerBase');

A total of 16 lines in 12 files were found