protected function retrieveInstalledBundles()
    {
        $finder = new Finder();
        $autoloaders = $finder->files()->depth(0)->name('*.json')->in($this->autoloadersPath);
        foreach ($autoloaders as $autoloader) {
            $bundleName = strtolower(basename($autoloader->getFilename(), '.json'));
            $jsonAutoloader = new JsonAutoloader($bundleName, (string)$autoloader);
            $this->installedBundles[$bundleName] = $jsonAutoloader;
        }
    }
protected function retrieveInstalledBundles()
    {
        $finder = new Finder();
        $autoloaders = $finder->files()->depth(0)->name('*.json')->in($this->autoloadersPath);
        foreach ($autoloaders as $autoloader) {
            $bundleName = strtolower(basename($autoloader->getFilename(), '.json'));
            $jsonAutoloader = new JsonAutoloader($bundleName, (string)$autoloader);
            $this->installedBundles[$bundleName] = $jsonAutoloader;
        }
    }
protected function retrieveInstalledBundles ( ) { $ finder = new Finder ( ) ; $ autoloaders = $ finder -> files ( ) -> depth ( 0 ) -> name ( '*.json' ) -> in ( $ this -> autoloadersPath ) ; foreach ( $ autoloaders as $ autoloader ) { $ bundleName = strtolower ( basename ( $ autoloader -> getFilename ( ) , '.json' ) ) ; $ jsonAutoloader = new JsonAutoloader ( $ bundleName , ( string ) $ autoloader ) ; $ this -> installedBundles [ $ bundleName ] = $ jsonAutoloader ; } }
Retrieves the current installed bundles
Retrieves the current installed bundles