Created
July 30, 2015 13:22
-
-
Save delboy1978uk/a13122a6f4e9fea2d497 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function onBootstrap(MvcEvent $e) | |
{ | |
$app = $e->getApplication(); | |
$eventManager = $app->getEventManager(); | |
$moduleRouteListener = new ModuleRouteListener(); | |
$moduleRouteListener->attach($eventManager); | |
$sharedManager = $eventManager->getSharedManager(); | |
$sharedManager->attach('HtUserRegistration\Service\UserRegistrationService', 'createRegistrationRecord.post', function (Event $e) use ($app) { | |
$e->stopPropagation(true); | |
//->controller->redirect()->toRoute('checkemailtoactivate'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment