summaryrefslogtreecommitdiff
path: root/plugins/jobs/oooold/tests/consumer.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/oooold/tests/consumer.php')
-rw-r--r--plugins/jobs/oooold/tests/consumer.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/jobs/oooold/tests/consumer.php b/plugins/jobs/oooold/tests/consumer.php
deleted file mode 100644
index ed56edff..00000000
--- a/plugins/jobs/oooold/tests/consumer.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/**
- * Spiral Framework.
- *
- * @license MIT
- * @author Anton Titov (Wolfy-J)
- */
-
-declare(strict_types=1);
-
-use Spiral\Core\Container;
-use Spiral\Goridge;
-use Spiral\Jobs;
-use Spiral\RoadRunner;
-
-require 'bootstrap.php';
-
-$rr = new RoadRunner\Worker(new Goridge\StreamRelay(STDIN, STDOUT));
-
-$consumer = new Jobs\Consumer(new Jobs\Registry\ContainerRegistry(new Container()));
-$consumer->serve($rr);