public function syncAction()
    {
        $this->manager->syncPackages(PackageHelperInterface::DEFAULT_PACKAGE_BUNDLE_TYPE);
        $this->manager->syncPackages(PackageHelperInterface::DEFAULT_PACKAGE_THEME_TYPE);
        $this->manager->getFlashHelper()->addSuccess('package.flash.sync.success');

        return $this->getRouterHelper()->redirectToAction('index');
    }
public function syncAction()
    {
        $this->manager->syncPackages(PackageHelperInterface::DEFAULT_PACKAGE_BUNDLE_TYPE);
        $this->manager->syncPackages(PackageHelperInterface::DEFAULT_PACKAGE_THEME_TYPE);
        $this->manager->getFlashHelper()->addSuccess('package.flash.sync.success');

        return $this->getRouterHelper()->redirectToAction('index');
    }
public function syncAction ( ) { $ this -> manager -> syncPackages ( PackageHelperInterface :: DEFAULT_PACKAGE_BUNDLE_TYPE ) ; $ this -> manager -> syncPackages ( PackageHelperInterface :: DEFAULT_PACKAGE_THEME_TYPE ) ; $ this -> manager -> getFlashHelper ( ) -> addSuccess ( 'package.flash.sync.success' ) ; return $ this -> getRouterHelper ( ) -> redirectToAction ( 'index' ) ; }
Action used to sync packages from remote servers ie. packagist.org

@return \Symfony\Component\HttpFoundation\RedirectResponse
Action used to sync packages from remote servers ie . packagist . org