Cascade\Config\Loader\ClassLoader::loadChildClasses PHP Method

loadChildClasses() protected method

Recursively loads objects into any of the rawOptions that represent a class
protected loadChildClasses ( )
    protected function loadChildClasses()
    {
        foreach ($this->rawOptions as &$option) {
            if (is_array($option) && array_key_exists('class', $option) && class_exists($option['class'])) {
                $classLoader = new ClassLoader($option);
                $option = $classLoader->load();
            }
        }
    }