private function copyValuesFromParentToProject($key, array &$config)
    {
        if (empty($config[$key])) {
            return;
        }

        foreach ($config['projects'] as &$project) {
            if (empty($project[$key])) {
                $project[$key] = $config[$key];
            }
        }
    }
private function copyValuesFromParentToProject($key, array &$config)
    {
        if (empty($config[$key])) {
            return;
        }

        foreach ($config['projects'] as &$project) {
            if (empty($project[$key])) {
                $project[$key] = $config[$key];
            }
        }
    }
private function copyValuesFromParentToProject ( $ key , array & $ config ) { if ( empty ( $ config [ $ key ] ) ) { return ; } foreach ( $ config [ 'projects' ] as & $ project ) { if ( empty ( $ project [ $ key ] ) ) { $ project [ $ key ] = $ config [ $ key ] ; } } }
Copy the parent configuration to the children.

@param string $key
@param array  $config
Copy the parent configuration to the children .