src/Config/Loader/ClassLoader.php
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();
            }
        }
    }
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();
            }
        }
    }
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 ( ) ; } } }
Recursively loads objects into any of the rawOptions that represent
a class
Recursively loads objects into any of the rawOptions that represent a class