public function onBootstrap(Event $e) { $app = $e->getApplication(); Utility::setSM($app->getServiceManager()); TransactionUtility::setSM($app->getServiceManager()); UnitCalcUtility::setSM($app->getServiceManager()); DropboxUtility::setSM($app->getServiceManager()); setupUtility::setSM($app->getServiceManager()); }