mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Set Resque_Log in constructor
This commit is contained in:
parent
610c4dcdbf
commit
cdc5c3f357
@ -49,6 +49,11 @@ class Resque_Worker
|
||||
*/
|
||||
private $child = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->logger = new Resque_Log();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all workers known to Resque as instantiated instances.
|
||||
* @return array
|
||||
|
Loading…
Reference in New Issue
Block a user