We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DefaultOption::hookFlags
1 parent 9accba7 commit 8084420Copy full SHA for 8084420
2 files changed
bin/hyperf.php
@@ -15,9 +15,8 @@
15
error_reporting(E_ALL);
16
17
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
18
-! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
19
-
20
require BASE_PATH . '/vendor/autoload.php';
+! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', Hyperf\Engine\DefaultOption::hookFlags());
21
22
// Self-called anonymous function that creates its own scope and keep the global namespace clean.
23
(function () {
composer.json
@@ -17,6 +17,7 @@
"hyperf/command": "~3.0.0",
"hyperf/config": "~3.0.0",
"hyperf/db-connection": "~3.0.0",
+ "hyperf/engine": "^2.10",
"hyperf/framework": "~3.0.0",
"hyperf/guzzle": "~3.0.0",
"hyperf/http-server": "~3.0.0",
0 commit comments