diff options
author | Wolfy-J <[email protected]> | 2018-09-23 15:55:57 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-23 15:55:57 +0300 |
commit | 6628249e68a85e6c2fed6d5802fa247388b053dc (patch) | |
tree | def759b509dbd32569afc8229c8888fa6599e1bf /tests/error.php | |
parent | bdff4b25d2a879357bc0ed53e96c0b551de07f88 (diff) | |
parent | eb64ebee3c77522202c5163513e7318bd630f8be (diff) |
Merge pull request #37 from spiral/feature/1.3.0
Feature/1.3.0
Diffstat (limited to 'tests/error.php')
-rw-r--r-- | tests/error.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/error.php b/tests/error.php new file mode 100644 index 00000000..ebd3418b --- /dev/null +++ b/tests/error.php @@ -0,0 +1,13 @@ +<?php +/** + * @var Goridge\RelayInterface $relay + */ + +use Spiral\Goridge; +use Spiral\RoadRunner; + +$rr = new RoadRunner\Worker($relay); + +while ($in = $rr->receive($ctx)) { + $rr->error((string)$in); +}
\ No newline at end of file |