Beispiel #1
0
 public function onBootstrap(MvcEvent $e)
 {
     ServiceLocatorFactory::setInstance($e->getApplication()->getServiceManager());
 }
Beispiel #2
0
 public function __wakeup()
 {
     $this->setServiceLocator(ServiceLocatorFactory::getInstance());
 }