add
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace think\swoole;
|
||||
|
||||
use think\swoole\coroutine\Context;
|
||||
|
||||
class App extends \think\App
|
||||
{
|
||||
public function runningInConsole()
|
||||
{
|
||||
return Context::hasData('_fd');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user