protected function registerProviders(Container $container): void
    {
        foreach (self::$providers as $className) {
            $container->addServiceProvider($className);
        }
    }
protected function registerProviders(Container $container): void
    {
        foreach (self::$providers as $className) {
            $container->addServiceProvider($className);
        }
    }
protected function registerProviders ( Container $ container ) : void { foreach ( self :: $ providers as $ className ) { $ container -> addServiceProvider ( $ className ) ; } }
Registers the service provides with the container.

@param Container $container
Registers the service provides with the container .