public function findGlobals()
    {
        $presets = $this->loadPresets();
        $globalPresets = [];
        foreach ($presets as $key => $preset) {
            foreach ($preset['applications'] as $application) {
                if (empty($application['options']['repositoryUrl'])) {
                    $globalPresets[$key] = $preset;
                }
            }
        }
        return $globalPresets;
    }
public function findGlobals()
    {
        $presets = $this->loadPresets();
        $globalPresets = [];
        foreach ($presets as $key => $preset) {
            foreach ($preset['applications'] as $application) {
                if (empty($application['options']['repositoryUrl'])) {
                    $globalPresets[$key] = $preset;
                }
            }
        }
        return $globalPresets;
    }
public function findGlobals ( ) { $ presets = $ this -> loadPresets ( ) ; $ globalPresets = [ ] ; foreach ( $ presets as $ key => $ preset ) { foreach ( $ preset [ 'applications' ] as $ application ) { if ( empty ( $ application [ 'options' ] [ 'repositoryUrl' ] ) ) { $ globalPresets [ $ key ] = $ preset ; } } } return $ globalPresets ; }
Finds all presets without a repositoryUrl.

@return array $presets
Finds all presets without a repositoryUrl .