| 1 | <?php |
||
| 8 | class BeanstalkDriver implements DriverInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Pheanstalk |
||
| 12 | */ |
||
| 13 | private $beanstalk; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param Pheanstalk $beanstalk |
||
| 17 | */ |
||
| 18 | 4 | public function __construct(Pheanstalk $beanstalk) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | 1 | public function enqueue($queue, $command) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | 2 | public function dequeue($queue) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | 1 | public function processed($job) |
|
| 57 | } |
||
| 58 |