private function scanVendorFolders(&$folders)
    {
        $basedir = realpath(NABU_PROVIDERS_PATH);
        if (is_dir($basedir) && ($h = opendir($basedir))) {
            while (($folder = readdir($h))) {
                if ($folder !== '.' && $folder !== '..') {
                    $this->scanModuleFolders($basedir . DIRECTORY_SEPARATOR . $folder, $folders);
                }
            }
            closedir($h);
        }
    }
private function scanVendorFolders(&$folders)
    {
        $basedir = realpath(NABU_PROVIDERS_PATH);
        if (is_dir($basedir) && ($h = opendir($basedir))) {
            while (($folder = readdir($h))) {
                if ($folder !== '.' && $folder !== '..') {
                    $this->scanModuleFolders($basedir . DIRECTORY_SEPARATOR . $folder, $folders);
                }
            }
            closedir($h);
        }
    }
private function scanVendorFolders ( & $ folders ) { $ basedir = realpath ( NABU_PROVIDERS_PATH ) ; if ( is_dir ( $ basedir ) && ( $ h = opendir ( $ basedir ) ) ) { while ( ( $ folder = readdir ( $ h ) ) ) { if ( $ folder !== '.' && $ folder !== '..' ) { $ this -> scanModuleFolders ( $ basedir . DIRECTORY_SEPARATOR . $ folder , $ folders ) ; } } closedir ( $ h ) ; } }
Scan vendor folders to find modules.
@param array &$folders Array passed by reference to be filled with modules found.
Scan vendor folders to find modules .