mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Set Resque_Log in constructor
This commit is contained in:
parent
610c4dcdbf
commit
cdc5c3f357
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue