private function setProviders($providers) {
        foreach ($providers as $key => $value) {
            $this->provides[] = $value;
            $this->app->appProviders[] = [$key=>$value];
        }
    }
private function setProviders($providers) {
        foreach ($providers as $key => $value) {
            $this->provides[] = $value;
            $this->app->appProviders[] = [$key=>$value];
        }
    }
private function setProviders ( $ providers ) { foreach ( $ providers as $ key => $ value ) { $ this -> provides [ ] = $ value ; $ this -> app -> appProviders [ ] = [ $ key => $ value ] ; } }
Set the appProviders in the main application object and set the provides array for registering the sevice providers
@param [type] $providers [description]
Set the appProviders in the main application object and set the provides array for registering the sevice providers