Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class SwooleTaskConnector implements ConnectorInterface |
||
9 | { |
||
10 | /** |
||
11 | * Swoole Server Instance |
||
12 | * |
||
13 | * @var \Swoole\Http\Server |
||
14 | */ |
||
15 | protected $swoole; |
||
16 | |||
17 | /** |
||
18 | * Create a new Swoole Async task connector instance. |
||
19 | * |
||
20 | * @param \Swoole\Http\Server $swoole |
||
21 | * @return void |
||
22 | */ |
||
23 | public function __construct($swoole) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Establish a queue connection. |
||
30 | * |
||
31 | * @param array $config |
||
32 | * @return \Illuminate\Contracts\Queue\Queue |
||
33 | */ |
||
34 | public function connect(array $config) |
||
39 |