src/Loader.php
public function load($key, $loadType = 'require_once')
    {
        if (isset($this->modules[$key])) {
            $path = $this->modulesPath . $this->modules[$key];
            $this->processLoad($path, $loadType);
        }
    }
public function load($key, $loadType = 'require_once')
    {
        if (isset($this->modules[$key])) {
            $path = $this->modulesPath . $this->modules[$key];
            $this->processLoad($path, $loadType);
        }
    }
public function load ( $ key , $ loadType = 'require_once' ) { if ( isset ( $ this -> modules [ $ key ] ) ) { $ path = $ this -> modulesPath . $ this -> modules [ $ key ] ; $ this -> processLoad ( $ path , $ loadType ) ; } }
@brief load from $this->module array by key

@param string $key key name
@param string $loadType switch of
- require_once
- require
- include_once
- include
@version 1.3
@brief load from $this - > module array by key