src/ServiceProviderMiddleware.php
public function setProviders()
    {
        $services = $this->container['services']??null;

        if (is_array($services)) {
            foreach ($services as $service) {
                $service::register($this->container);
                $service::boot($this->container);
            }
        }
    }
public function setProviders()
    {
        $services = $this->container['services']??null;

        if (is_array($services)) {
            foreach ($services as $service) {
                $service::register($this->container);
                $service::boot($this->container);
            }
        }
    }
public function setProviders ( ) { $ services = $ this -> container [ 'services' ] ?? null ; if ( is_array ( $ services ) ) { foreach ( $ services as $ service ) { $ service :: register ( $ this -> container ) ; $ service :: boot ( $ this -> container ) ; } } }
Inicializa y registra todos los providers

@return void
Inicializa y registra todos los providers