mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
update to 2.4.4 version (build 405)
change requirements: add pcntl as required extension update docs
This commit is contained in:
@@ -19,7 +19,7 @@ use ZM\Command\SystemdCommand;
|
||||
|
||||
class ConsoleApplication extends Application
|
||||
{
|
||||
const VERSION_ID = 404;
|
||||
const VERSION_ID = 405;
|
||||
const VERSION = "2.4.4";
|
||||
|
||||
public function __construct(string $name = 'UNKNOWN') {
|
||||
|
||||
21
src/ZM/Event/SwooleEvent/OnManagerStop.php
Normal file
21
src/ZM/Event/SwooleEvent/OnManagerStop.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace ZM\Event\SwooleEvent;
|
||||
|
||||
|
||||
use ZM\Annotation\Swoole\SwooleHandler;
|
||||
use ZM\Console\Console;
|
||||
use ZM\Event\SwooleEvent;
|
||||
|
||||
/**
|
||||
* Class OnManagerStop
|
||||
* @package ZM\Event\SwooleEvent
|
||||
* @SwooleHandler("ManagerStop")
|
||||
*/
|
||||
class OnManagerStop implements SwooleEvent
|
||||
{
|
||||
public function onCall() {
|
||||
Console::verbose("进程 Manager 已停止!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user