private function loadPackageDescriptors()
    {
        $descriptors = [];
        try {
            /** @var JsonFile $autoload */
            $autoload = $this->extFs->get('vendor/autoload.json');
        } catch (FileNotFoundException $e) {
            return $descriptors;
        }

        // Get extensions we're managing via the autoloader
        foreach ((array) $autoload->parse() as $name => $loader) {
            $descriptors[$name] = PackageDescriptor::create($loader);
        }

        return $descriptors;
    }
private function loadPackageDescriptors()
    {
        $descriptors = [];
        try {
            /** @var JsonFile $autoload */
            $autoload = $this->extFs->get('vendor/autoload.json');
        } catch (FileNotFoundException $e) {
            return $descriptors;
        }

        // Get extensions we're managing via the autoloader
        foreach ((array) $autoload->parse() as $name => $loader) {
            $descriptors[$name] = PackageDescriptor::create($loader);
        }

        return $descriptors;
    }
private function loadPackageDescriptors ( ) { $ descriptors = [ ] ; try { /** @var JsonFile $autoload */ $ autoload = $ this -> extFs -> get ( 'vendor/autoload.json' ) ; } catch ( FileNotFoundException $ e ) { return $ descriptors ; } // Get extensions we're managing via the autoloader foreach ( ( array ) $ autoload -> parse ( ) as $ name => $ loader ) { $ descriptors [ $ name ] = PackageDescriptor :: create ( $ loader ) ; } return $ descriptors ; }
Load the extension autoload.json cache file and build the PackageDescriptor array.

@return PackageDescriptor[]
Load the extension autoload . json cache file and build the PackageDescriptor array .