改名
This commit is contained in:
@@ -5,14 +5,12 @@ namespace HttpServer\Events;
|
|||||||
|
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use HttpServer\Application;
|
|
||||||
use HttpServer\ServerManager;
|
use HttpServer\ServerManager;
|
||||||
use ReflectionException;
|
use ReflectionException;
|
||||||
|
use Snowflake\Application;
|
||||||
use Snowflake\Core\JSON;
|
use Snowflake\Core\JSON;
|
||||||
use Snowflake\Exception\ComponentException;
|
|
||||||
use Snowflake\Exception\NotFindClassException;
|
use Snowflake\Exception\NotFindClassException;
|
||||||
use Snowflake\Snowflake;
|
use Snowflake\Snowflake;
|
||||||
use Swoole\Process\Pool;
|
|
||||||
use Swoole\Server;
|
use Swoole\Server;
|
||||||
use Closure;
|
use Closure;
|
||||||
|
|
||||||
@@ -23,7 +21,7 @@ use Closure;
|
|||||||
abstract class Service extends Server
|
abstract class Service extends Server
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @var \Snowflake\Application */
|
/** @var Application */
|
||||||
protected $application;
|
protected $application;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ class OnShutdown extends Callback
|
|||||||
*/
|
*/
|
||||||
public function onHandler(Server $server)
|
public function onHandler(Server $server)
|
||||||
{
|
{
|
||||||
|
var_dump($server);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user