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

Property Type Description
$job
$logger

Public Methods

Method Description
__construct ( Logger $logger )
registerAutoload ( )
registerEvents ( ) which outputs all the debugging logs

Method Details

__construct() public method

public __construct ( Logger $logger )
$logger Resque\Logger

registerAutoload() public method

public registerAutoload ( )

registerEvents() public method

which outputs all the debugging logs
public registerEvents ( )

Property Details

$job protected property

protected $job

$logger protected property

protected $logger