Exemple #1
0
 public function onBoot(BootEvent $event)
 {
     $helper = $event->getApplication()->getServices()->get($this->serviceName);
     if (!$helper instanceof ViewHelperService) {
         throw new Exception('Service is not a ViewHelperService');
     }
     $event->getApplication()->notify(new ViewHelperLoadedEvent($helper, array(), $event->getApplication(), $event->getContext()));
 }
Exemple #2
0
 public function onBoot(BootEvent $event)
 {
     $event->getApplication()->notify(new ResultTypeServiceLoadedEvent($event->getApplication()->getServices()->get($this->serviceName), array(), $event->getApplication(), $event->getContext()));
 }
Exemple #3
0
 public function onBoot(BootEvent $event)
 {
     $event->getApplication()->notify(new DescriptorLoadedEvent($this->descriptor, array(), $event->getApplication(), $event->getContext()));
 }