public function getNormalizedLegacyConfiguration(): array
    {
        $normalizedConfiguration = [];
        foreach ($this->legacyConfiguration as $logIdentifier => $configuration) {
            // Skip everything that is not an actual log configuration.
            if (!isset($configuration['backend'])) {
                continue;
            }

            $backendObjectNames = $configuration['backend'];
            $backendOptions = $configuration['backendOptions'] ?? [];
            $normalizedConfiguration[$logIdentifier] = $this->mapLoggerConfiguration($backendObjectNames, $backendOptions);
        }

        return $normalizedConfiguration;
    }
public function getNormalizedLegacyConfiguration(): array
    {
        $normalizedConfiguration = [];
        foreach ($this->legacyConfiguration as $logIdentifier => $configuration) {
            // Skip everything that is not an actual log configuration.
            if (!isset($configuration['backend'])) {
                continue;
            }

            $backendObjectNames = $configuration['backend'];
            $backendOptions = $configuration['backendOptions'] ?? [];
            $normalizedConfiguration[$logIdentifier] = $this->mapLoggerConfiguration($backendObjectNames, $backendOptions);
        }

        return $normalizedConfiguration;
    }
public function getNormalizedLegacyConfiguration ( ) : array { $ normalizedConfiguration = [ ] ; foreach ( $ this -> legacyConfiguration as $ logIdentifier => $ configuration ) { // Skip everything that is not an actual log configuration. if ( ! isset ( $ configuration [ 'backend' ] ) ) { continue ; } $ backendObjectNames = $ configuration [ 'backend' ] ; $ backendOptions = $ configuration [ 'backendOptions' ] ?? [ ] ; $ normalizedConfiguration [ $ logIdentifier ] = $ this -> mapLoggerConfiguration ( $ backendObjectNames , $ backendOptions ) ; } return $ normalizedConfiguration ; }
Normalize a backend configuration to a unified format.

@return array
Normalize a backend configuration to a unified format .