Update Queue.php

This commit is contained in:
Anyon 2019-08-28 09:58:13 +08:00
parent 741ed8a1d6
commit f4db569a36

View File

@ -26,7 +26,13 @@ use think\console\Output;
abstract class Queue abstract class Queue
{ {
/** /**
* 判断是否为WIN环境 * 当前类名
* @var string
*/
const URI = self::class;
/**
* 判断是否WIN环境
* @return boolean * @return boolean
*/ */
protected function isWin() protected function isWin()
@ -35,4 +41,4 @@ abstract class Queue
} }
abstract function execute(Input $input, Output $output, array $data); abstract function execute(Input $input, Output $output, array $data);
} }