public function load()
    {
        try {
            $this->addConfig(\Parable\DI\Container::get($this->mainConfigClass));
        } catch (\Exception $e) {
            return $this;
        }

        if ($this->get('parable.configs')) {
            foreach ($this->get('parable.configs') as $configClass) {
                $this->addConfig(\Parable\DI\Container::get($configClass));
            }
        }

        return $this;
    }
public function load()
    {
        try {
            $this->addConfig(\Parable\DI\Container::get($this->mainConfigClass));
        } catch (\Exception $e) {
            return $this;
        }

        if ($this->get('parable.configs')) {
            foreach ($this->get('parable.configs') as $configClass) {
                $this->addConfig(\Parable\DI\Container::get($configClass));
            }
        }

        return $this;
    }
public function load ( ) { try { $ this -> addConfig ( \ Parable \ DI \ Container :: get ( $ this -> mainConfigClass ) ) ; } catch ( \ Exception $ e ) { return $ this ; } if ( $ this -> get ( 'parable.configs' ) ) { foreach ( $ this -> get ( 'parable.configs' ) as $ configClass ) { $ this -> addConfig ( \ Parable \ DI \ Container :: get ( $ configClass ) ) ; } } return $ this ; }
Load the main config and load all its values. If there are any child configs defined under
"parable.configs", load all of those too.

@return $this
Load the main config and load all its values . If there are any child configs defined under parable . configs load all of those too .