1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-27 04:44:56 +01:00
parallel/test/Worker/NonAutoloadableResultTask.php
2018-10-23 22:10:12 -05:00

16 lines
324 B
PHP

<?php
namespace Amp\Parallel\Test\Worker;
use Amp\Parallel\Worker\Environment;
use Amp\Parallel\Worker\Task;
class NonAutoloadableResultTask implements Task
{
public function run(Environment $environment)
{
require __DIR__ . "/non-autoloadable-class.php";
return new NonAutoloadableClass;
}
}