Esempio n. 1
0
 /**
  * Load the Service Providers, which are configured as "front-end" and "both",
  * into the Container.
  *
  * @since 1.0.0
  *
  * @return null
  */
 public function load_service_providers()
 {
     if (!is_admin() && $this->config->is_array('fe_service_providers')) {
         $this->core->register_service_providers($this->config->fe_service_providers);
     }
     if ($this->config->is_array('both_service_providers')) {
         $this->core->register_service_providers($this->config->both_service_providers);
     }
 }
Esempio n. 2
0
 /**
  * Load the Service Providers, which are configured as "front-end" and "both",
  * into the Container.
  *
  * @since 1.0.0
  *
  * @return null
  */
 protected function load_service_providers()
 {
     $this->core->register_service_providers($this->config->fe_service_providers);
 }