Process.php 672 B

1234567891011121314151617181920212223242526272829
  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. namespace Hyperf\Process\Annotation;
  12. use Attribute;
  13. use Hyperf\Di\Annotation\AbstractAnnotation;
  14. #[Attribute(Attribute::TARGET_CLASS)]
  15. class Process extends AbstractAnnotation
  16. {
  17. public function __construct(
  18. public ?int $nums = null,
  19. public ?string $name = null,
  20. public ?bool $redirectStdinStdout = null,
  21. public ?int $pipeType = null,
  22. public ?bool $enableCoroutine = null
  23. ) {
  24. }
  25. }