src/Facter/ProviderFacter.php
public function registerProviderFromFile(\SplFileInfo $provider_file)
    {
        $class_name = $this->providers_namespace . '\\' . $provider_file->getBasename('.php');
        $this->addProvider($this->factory($class_name));
    }
public function registerProviderFromFile(\SplFileInfo $provider_file)
    {
        $class_name = $this->providers_namespace . '\\' . $provider_file->getBasename('.php');
        $this->addProvider($this->factory($class_name));
    }
Instantiate a provider from a file