private function addToDirectory($path, $folderName, $ns, $module)
{
if (file_exists($path)) {
$this->_dirs[$folderName][] = ['ns' => $ns, 'module' => $module, 'folderPath' => $path . DIRECTORY_SEPARATOR, 'files' => $this->scanDirectoryFiles($path, $ns, $module)];
}
}