diff --git a/config/autoload/devtool.php b/config/autoload/devtool.php index 50afb044..d326e31c 100644 --- a/config/autoload/devtool.php +++ b/config/autoload/devtool.php @@ -9,7 +9,16 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ +use function Hyperf\Support\env; + return [ + /* + * Supported IDEs: "sublime", "textmate", "cursor", "emacs", "macvim", "phpstorm", "idea", + * "vscode", "vscode-insiders", "vscode-remote", "vscode-insiders-remote", + * "atom", "nova", "netbeans", "xdebug" + */ + 'ide' => env('DEVTOOL_IDE', ''), + 'generator' => [ 'amqp' => [ 'consumer' => [ @@ -37,8 +46,8 @@ 'middleware' => [ 'namespace' => 'App\Middleware', ], - 'Process' => [ - 'namespace' => 'App\Processes', + 'process' => [ + 'namespace' => 'App\Process', ], ], ];