private function loadSubContexts($subcontexts)
    {
        foreach ($subcontexts as $path => $subcontext) {
            if (!file_exists($path)) {
                throw new \RuntimeException(sprintf('Subcontext path %s path does not exist.', $path));
            }

            // Load file.
            require_once $path;
        }
    }
private function loadSubContexts($subcontexts)
    {
        foreach ($subcontexts as $path => $subcontext) {
            if (!file_exists($path)) {
                throw new \RuntimeException(sprintf('Subcontext path %s path does not exist.', $path));
            }

            // Load file.
            require_once $path;
        }
    }
private function loadSubContexts ( $ subcontexts ) { foreach ( $ subcontexts as $ path => $ subcontext ) { if ( ! file_exists ( $ path ) ) { throw new \ RuntimeException ( sprintf ( 'Subcontext path %s path does not exist.' , $ path ) ) ; } // Load file. require_once $ path ; } }
Load each subcontext file.

@param array $subcontexts
An array of files to include.
Load each subcontext file .