改名
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Queue;
|
||||
|
||||
|
||||
use Snowflake\Snowflake;
|
||||
|
||||
/**
|
||||
* Class TestQueue
|
||||
* @package Queue
|
||||
*/
|
||||
class TestQueue implements Consumer
|
||||
{
|
||||
|
||||
public $params;
|
||||
|
||||
|
||||
/**
|
||||
* TestQueue constructor.
|
||||
* @param array $params
|
||||
*/
|
||||
public function __construct(array $params)
|
||||
{
|
||||
$this->params = $params;
|
||||
$this->onWaiting();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function onWaiting()
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function onRunning()
|
||||
{
|
||||
// TODO: Implement onRunning() method.
|
||||
}
|
||||
|
||||
public function onComplete()
|
||||
{
|
||||
// TODO: Implement onComplete() method.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user