mirror of
https://github.com/danog/parallel.git
synced 2024-11-27 04:44:56 +01:00
16 lines
324 B
PHP
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;
|
|
}
|
|
}
|