1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/test/Worker/Fixtures/custom-bootstrap.php
Aaron Piotrowski 7c8f936618
Autoloading → Bootstrap
Calling the file a boostrap makes more sense as more than defining an autoloader can be done in the file.
2019-02-22 16:10:30 -06:00

12 lines
183 B
PHP

<?php
\spl_autoload_register(function (string $className) {
if ($className !== CustomAutoloadClass::class) {
return;
}
class CustomAutoloadClass
{
}
});