/** * Handles the Phing message logged event. * * @param BuildEvent The Phing build event. * * @author Noah Fontes <*****@*****.**> * @since 1.0.0 */ public function messageLogged(BuildEvent $phingEvent) { $event = new AgaviPhingMessageEvent(); $event->setSource($phingEvent->getSource()); $event->setMessage($phingEvent->getMessage()); $event->setPriority($phingEvent->getPriority()); $event->setProject($phingEvent->getProject()); foreach ($this->messageListeners as $listener) { $listener->messageReported($event); } }