/**
  * Dispatch an incoming event to the appropriate method
  *
  * Marshals arguments from the event parameters.
  *
  * @param  TwilioResponseEvent $event
  * @return mixed
  */
 public function dispatch(TwilioResponseEvent $event)
 {
     $this->event = $event;
     switch ($event->getName()) {
         case 'getTwilioResponse':
             return $this->getResponse();
         default:
             throw new \RuntimeException(sprintf('%s has not been setup to handle the event "%s"', __METHOD__, $event->getName()));
     }
 }