protected function registerDeferredServiceProvider($provider, ServiceProvider $instance)
    {
        return [
            'instance' => $instance,
            'eager' => false,
            'when' => $instance->when(),
            'deferred' => \array_fill_keys($instance->provides(), $provider),
        ];
    }