public function getBundles()
    {
        $bundles = [];
        foreach ($this->getContainer()->findTaggedServiceIds('bundle') as $id => $datas) {
            $bundles[] = $this->getContainer()->get($id);
        }

        return $bundles;
    }
public function getBundles()
    {
        $bundles = [];
        foreach ($this->getContainer()->findTaggedServiceIds('bundle') as $id => $datas) {
            $bundles[] = $this->getContainer()->get($id);
        }

        return $bundles;
    }
public function getBundles ( ) { $ bundles = [ ] ; foreach ( $ this -> getContainer ( ) -> findTaggedServiceIds ( 'bundle' ) as $ id => $ datas ) { $ bundles [ ] = $ this -> getContainer ( ) -> get ( $ id ) ; } return $ bundles ; }
returns every registered bundles.

@return array
returns every registered bundles .