public function initConfigs()
    {
        // Check configurations
        if (empty($this->configurations)) {
            return;
        }

        // Get available configurations
        $available = $this->getConfigurations();

        // Iterate
        foreach ($this->configurations as $component => $file) {
            // Check if configuration asked exists
            if (!array_key_exists($component, $available)) {
                continue;
            }

            $service = $this->get($component);

            // Check service integrity
            if (!$service) {
                continue;
            }

            // Initialize service
            $service->setPath($file);
            $service->init();
        }
    }
public function initConfigs()
    {
        // Check configurations
        if (empty($this->configurations)) {
            return;
        }

        // Get available configurations
        $available = $this->getConfigurations();

        // Iterate
        foreach ($this->configurations as $component => $file) {
            // Check if configuration asked exists
            if (!array_key_exists($component, $available)) {
                continue;
            }

            $service = $this->get($component);

            // Check service integrity
            if (!$service) {
                continue;
            }

            // Initialize service
            $service->setPath($file);
            $service->init();
        }
    }
public function initConfigs ( ) { // Check configurations if ( empty ( $ this -> configurations ) ) { return ; } // Get available configurations $ available = $ this -> getConfigurations ( ) ; // Iterate foreach ( $ this -> configurations as $ component => $ file ) { // Check if configuration asked exists if ( ! array_key_exists ( $ component , $ available ) ) { continue ; } $ service = $ this -> get ( $ component ) ; // Check service integrity if ( ! $ service ) { continue ; } // Initialize service $ service -> setPath ( $ file ) ; $ service -> init ( ) ; } }
Initialize configs files containing theme definitions.
Initialize configs files containing theme definitions .