public function getUnloadedModules(array $modules)
    {
        $unloaded = array();

        foreach ($modules as $module) {
            if (!$this->isLoaded($module)) {
                array_push($unloaded, $module);
            }
        }

        return $unloaded;
    }
public function getUnloadedModules(array $modules)
    {
        $unloaded = array();

        foreach ($modules as $module) {
            if (!$this->isLoaded($module)) {
                array_push($unloaded, $module);
            }
        }

        return $unloaded;
    }
public function getUnloadedModules ( array $ modules ) { $ unloaded = array ( ) ; foreach ( $ modules as $ module ) { if ( ! $ this -> isLoaded ( $ module ) ) { array_push ( $ unloaded , $ module ) ; } } return $ unloaded ; }
Returns a collection of unloaded modules

@param array $modules Target collection of required modules
@return array
Returns a collection of unloaded modules