original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Gets a configuration array.
  
  @param string $configAppFile
  @return array
docstring_tokens: Gets a configuration array .