public static function prepareAliases(array $defaultAliasConfig, array $aliasArray): array
    {
        $factory = new static($defaultAliasConfig);
        foreach ($aliasArray as $name => $config) {
            $name = (string) $name;
            $aliasArray[$name] = $factory->createAlias($name, $config);
        }

        return $aliasArray;
    }
public static function prepareAliases(array $defaultAliasConfig, array $aliasArray): array
    {
        $factory = new static($defaultAliasConfig);
        foreach ($aliasArray as $name => $config) {
            $name = (string) $name;
            $aliasArray[$name] = $factory->createAlias($name, $config);
        }

        return $aliasArray;
    }
public static function prepareAliases ( array $ defaultAliasConfig , array $ aliasArray ) : array { $ factory = new static ( $ defaultAliasConfig ) ; foreach ( $ aliasArray as $ name => $ config ) { $ name = ( string ) $ name ; $ aliasArray [ $ name ] = $ factory -> createAlias ( $ name , $ config ) ; } return $ aliasArray ; }
Prepares aliases config in proper view.
@param array $defaultAliasConfig
@param array $aliasArray
@return array
@throws InvalidConfigException
Prepares aliases config in proper view .