FluidTYPO3\Flux\View\TemplatePaths::__construct PHP Method

__construct() public method

public __construct ( string | null $packageOrPaths = NULL )
$packageOrPaths string | null
    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);
        }
    }