Esempio n. 1
0
 /**
  * gets the according service by
  * the type of the message
  *
  * @param  Message $message
  * @return Service
  */
 protected function getService(Message $message)
 {
     return $this->factory->make($message->getHeader()->getTarget()->getService());
 }