PHP Class ExampleAutoloader
You probably want to have your own autoloader (or use composer)
that autoloads your job class files when they're called from php-resque
There is access to the following variables from here:
- $config array An array of configuration options parsed from config file and options
- $input InputInterface Console input interface for retreiving user option
- $output OutputInterface Console output interface for sending messages to user
- $logger Logger The logger instance, you should log messages to this with the
log() method
Show file
Open project: mjphaynes/php-resque
Protected Properties
Public Methods
Method Details
__construct()
public method
public __construct ( Logger $logger ) |
$logger |
Resque\Logger |
|
registerAutoload()
public method
registerEvents()
public method
which outputs all the debugging logs
Property Details
$logger protected property