public function __construct($packageOrPaths = NULL)
{
if (TRUE === is_array($packageOrPaths)) {
$this->fillFromTypoScriptArray($packageOrPaths);
} elseif (FALSE === empty($packageOrPaths) && ExtensionManagementUtility::isLoaded(ExtensionNamingUtility::getExtensionKey($packageOrPaths))) {
$this->fillDefaultsByPackageName($packageOrPaths);
}
}