protected function getConfigArr(string $configAppFile) : array
    {
        $configCoreFile = __DIR__.'/../Config/config.php';
        $configCore = $this->requireFile($configCoreFile);
        $configApp = $this->requireFile($configAppFile);
        
        $services = [];
        $skipCoreServices = $configApp['skipCoreServices'] ?? false;
        if (isset($configCore['services']) && !$skipCoreServices) {
            $services[] = $configCore['services'];
        }
        if (isset($configApp['services'])) {
            $services[] = $configApp['services'];
        }
        $configArr = array_replace_recursive($configCore, $configApp);
        $configArr['services'] = $services;
        
        return $configArr;
    }