private function doApplicationConfigExtend(Config $config)
    {
        $config_directories = ConfigDirectory::getDirectories(
            null,
            $this->baseRepository,
            $this->context,
            $this->environment
        );

        foreach ($config_directories as $directory) {
            if (is_dir($directory)) {
                $config->extend($directory, $this->overrideConfig);
            }
        }
    }
private function doApplicationConfigExtend(Config $config)
    {
        $config_directories = ConfigDirectory::getDirectories(
            null,
            $this->baseRepository,
            $this->context,
            $this->environment
        );

        foreach ($config_directories as $directory) {
            if (is_dir($directory)) {
                $config->extend($directory, $this->overrideConfig);
            }
        }
    }
private function doApplicationConfigExtend ( Config $ config ) { $ config_directories = ConfigDirectory :: getDirectories ( null , $ this -> baseRepository , $ this -> context , $ this -> environment ) ; foreach ( $ config_directories as $ directory ) { if ( is_dir ( $ directory ) ) { $ config -> extend ( $ directory , $ this -> overrideConfig ) ; } } }
Do every extend according to application context and envrionment for application's Config.

@param Config $config config we want to apply Application Config extend type
Do every extend according to application context and envrionment for application s Config .