private function initBundles()
    {
        $bundleLoader = $this->getContainer()->get('bundle.loader');
        if (!$bundleLoader->isRestored() && null !== $this->getConfig()->getBundlesConfig()) {
            $bundleLoader->load($this->getConfig()->getBundlesConfig());
        }

        return $this;
    }
private function initBundles()
    {
        $bundleLoader = $this->getContainer()->get('bundle.loader');
        if (!$bundleLoader->isRestored() && null !== $this->getConfig()->getBundlesConfig()) {
            $bundleLoader->load($this->getConfig()->getBundlesConfig());
        }

        return $this;
    }
private function initBundles ( ) { $ bundleLoader = $ this -> getContainer ( ) -> get ( 'bundle.loader' ) ; if ( ! $ bundleLoader -> isRestored ( ) && null !== $ this -> getConfig ( ) -> getBundlesConfig ( ) ) { $ bundleLoader -> load ( $ this -> getConfig ( ) -> getBundlesConfig ( ) ) ; } return $ this ; }
Loads every declared bundles into application.

@return ApplicationInterface
Loads every declared bundles into application .