protected function parseExtraFolders()
    {
        foreach ($this->extraFolders as $folder) {
            $finder = new Finder();
            if (is_dir($folder)) {
                $bundleFolders = $finder->directories()->depth(0)->in($folder);
                foreach ($bundleFolders as $bundleFolder) {
                    $bundleName = basename($bundleFolder);
                    $this->addBundle($bundleName, (string)$bundleFolder);
                }
            }
        }
    }
protected function parseExtraFolders()
    {
        foreach ($this->extraFolders as $folder) {
            $finder = new Finder();
            if (is_dir($folder)) {
                $bundleFolders = $finder->directories()->depth(0)->in($folder);
                foreach ($bundleFolders as $bundleFolder) {
                    $bundleName = basename($bundleFolder);
                    $this->addBundle($bundleName, (string)$bundleFolder);
                }
            }
        }
    }
protected function parseExtraFolders ( ) { foreach ( $ this -> extraFolders as $ folder ) { $ finder = new Finder ( ) ; if ( is_dir ( $ folder ) ) { $ bundleFolders = $ finder -> directories ( ) -> depth ( 0 ) -> in ( $ folder ) ; foreach ( $ bundleFolders as $ bundleFolder ) { $ bundleName = basename ( $ bundleFolder ) ; $ this -> addBundle ( $ bundleName , ( string ) $ bundleFolder ) ; } } } }
parses extra folders to look for autoloaders in different path than the ones
saved into the composer file
parses extra folders to look for autoloaders in different path than the ones saved into the composer file