mirror of
https://github.com/danog/parallel.git
synced 2024-11-27 04:44:56 +01:00
7c8f936618
Calling the file a boostrap makes more sense as more than defining an autoloader can be done in the file.
15 lines
291 B
PHP
15 lines
291 B
PHP
<?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);
|
|
}
|
|
}
|