src/Autoloader.php
public static function findComposerAutoloader()
    {
        // Find the Composer Autoloader class using its (generated) name
        $list = get_declared_classes();
        foreach ($list as $cl)
            if (substr($cl, 0, 18) === "ComposerAutoloader")
                return $cl;

        // @codeCoverageIgnoreStart
        // Tests run using composer autoloader
        return null;
        // @codeCoverageIgnoreEnd
    }
public static function findComposerAutoloader()
    {
        // Find the Composer Autoloader class using its (generated) name
        $list = get_declared_classes();
        foreach ($list as $cl)
            if (substr($cl, 0, 18) === "ComposerAutoloader")
                return $cl;

        // @codeCoverageIgnoreStart
        // Tests run using composer autoloader
        return null;
        // @codeCoverageIgnoreEnd
    }
Find the class name of the Composer autoloader. The name starts
with ComposerAutoloader and has a random suffix. Therefore, the list
of class names is obtained and all class names are compared with this pattern.