src/Facter/ProviderFacter.php
public function registerProviders()
    {
        $finder = new Finder();
        $finder->files()
            ->ignoreUnreadableDirs()
            ->in($this->providers_dir)
            ->sortByName()
            ->name('*.php');
        foreach ($finder as $provider) {
            $this->registerProviderFromFile($provider);
        }
    }
public function registerProviders()
    {
        $finder = new Finder();
        $finder->files()
            ->ignoreUnreadableDirs()
            ->in($this->providers_dir)
            ->sortByName()
            ->name('*.php');
        foreach ($finder as $provider) {
            $this->registerProviderFromFile($provider);
        }
    }
List the files in the providers dir to create new objects.