1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-14 18:15:16 +01:00
parallel/test/Worker/Fixtures/AutoloadTestTask.php

15 lines
291 B
PHP
Raw Normal View History

<?php
namespace Amp\Parallel\Test\Worker\Fixtures;
use Amp\Parallel\Worker\Environment;
use Amp\Parallel\Worker\Task;
class AutoloadTestTask implements Task
{
public function run(Environment $environment): bool
{
return \class_exists('CustomAutoloadClass', true);
}
}