src/ProviderRepository.php
protected function registerDeferredServiceProvider($provider, ServiceProvider $instance)
    {
        return [
            'instance' => $instance,
            'eager' => false,
            'when' => $instance->when(),
            'deferred' => \array_fill_keys($instance->provides(), $provider),
        ];
    }
protected function registerDeferredServiceProvider($provider, ServiceProvider $instance)
    {
        return [
            'instance' => $instance,
            'eager' => false,
            'when' => $instance->when(),
            'deferred' => \array_fill_keys($instance->provides(), $provider),
        ];
    }
Register deferred service provider.

@param  string  $provider
@param  \Illuminate\Support\ServiceProvider  $instance

@return void