mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-07-17 09:31:48 +00:00
2.0.0: Add namespacing (#1)
2.0.0: Namespace for idanoo/php-resque Co-Authored-By: idanoo <daniel@m2.nz> Co-Committed-By: idanoo <daniel@m2.nz>
This commit is contained in:
parent
591012d123
commit
926f8a887c
8 changed files with 53 additions and 59 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
namespace Hlgrrnhrdt\Resque;
|
||||
namespace Idanoo\Resque;
|
||||
|
||||
/**
|
||||
* Worker
|
||||
|
@ -9,14 +9,14 @@ namespace Hlgrrnhrdt\Resque;
|
|||
class Worker
|
||||
{
|
||||
/**
|
||||
* @var \Resque_Worker
|
||||
* @var \Resque\Worker
|
||||
*/
|
||||
private $worker;
|
||||
|
||||
/**
|
||||
* @param \Resque_Worker $worker
|
||||
* @param \Resque\Worker $worker
|
||||
*/
|
||||
public function __construct(\Resque_Worker $worker)
|
||||
public function __construct(\Resque\Worker $worker)
|
||||
{
|
||||
$this->worker = $worker;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue