public function getEnabledBootstrappers()
    {
        $bootstrappers = new Collection;

        foreach ($this->getEnabledExtensions() as $extension) {
            if ($this->filesystem->exists($file = $extension->getPath().'/bootstrap.php')) {
                $bootstrappers->push($file);
            }
        }

        return $bootstrappers;
    }
public function getEnabledBootstrappers()
    {
        $bootstrappers = new Collection;

        foreach ($this->getEnabledExtensions() as $extension) {
            if ($this->filesystem->exists($file = $extension->getPath().'/bootstrap.php')) {
                $bootstrappers->push($file);
            }
        }

        return $bootstrappers;
    }
public function getEnabledBootstrappers ( ) { $ bootstrappers = new Collection ; foreach ( $ this -> getEnabledExtensions ( ) as $ extension ) { if ( $ this -> filesystem -> exists ( $ file = $ extension -> getPath ( ) . '/bootstrap.php' ) ) { $ bootstrappers -> push ( $ file ) ; } } return $ bootstrappers ; }
Loads all bootstrap.php files of the enabled extensions.

@return Collection
Loads all bootstrap . php files of the enabled extensions .