devtool.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * This file is part of Hyperf.
  5. *
  6. * @link https://www.hyperf.io
  7. * @document https://hyperf.wiki
  8. * @contact group@hyperf.io
  9. * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
  10. */
  11. return [
  12. // Supported IDEs: "sublime", "textmate", "emacs", "macvim", "phpstorm", "idea",
  13. // "vscode", "vscode-insiders", "vscode-remote", "vscode-insiders-remote",
  14. // "atom", "nova", "netbeans", "xdebug"
  15. 'ide' => env('DEVTOOL_IDE', ''),
  16. 'generator' => [
  17. 'amqp' => [
  18. 'consumer' => [
  19. 'namespace' => 'App\\Amqp\\Consumer',
  20. ],
  21. 'producer' => [
  22. 'namespace' => 'App\\Amqp\\Producer',
  23. ],
  24. ],
  25. 'aspect' => [
  26. 'namespace' => 'App\\Aspect',
  27. ],
  28. 'command' => [
  29. 'namespace' => 'App\\Command',
  30. ],
  31. 'controller' => [
  32. 'namespace' => 'App\\Controller',
  33. ],
  34. 'job' => [
  35. 'namespace' => 'App\\Job',
  36. ],
  37. 'listener' => [
  38. 'namespace' => 'App\\Listener',
  39. ],
  40. 'middleware' => [
  41. 'namespace' => 'App\\Middleware',
  42. ],
  43. 'process' => [
  44. 'namespace' => 'App\\Process',
  45. ],
  46. 'request' => [
  47. 'namespace' => 'App\\Request',
  48. ],
  49. ],
  50. ];