/**
* Parse registered files
*
* @return void
*
* @since 4.0.0
*/
protected function parseRegistryFiles()
{
if (!$this->dataFilesNew) {
return;
}
foreach ($this->dataFilesNew as $path) {
// Parse only if the file was not parsed already
if (empty($this->dataFilesParsed[$path])) {
$this->parseRegistryFile($path);
// Mark the file as parsed
$this->dataFilesParsed[$path] = $path;
}
// Remove the file from queue
unset($this->dataFilesNew[$path]);
}
}