/** * Boot Sugar login. * * @param KernelBootLevelEvent $event * The event that triggered this boot level process. * * @throws \RuntimeException * If there's no user with administrator privileges on this SugarCRM * instance. */ protected function bootSugarLogin(KernelBootLevelEvent $event) { // FIXME: add support for user being supplied by --user|-u global option $event->getKernel()->get('sugar')->localLogin(); }