/** * Gets a string representation of this event * * @since 1.0 * @uses EventType::getEventName() * @uses getType() * @uses getParamDescription() * * @return string */ public function __toString() { return EventType::getEventName($this->getType()) . ' (channel ' . $this->channel . '): ' . $this->getParamDescription(); }
/** * Gets the string representation of this event * * @since 1.0 * @uses EventType::getEventName() * @uses getType() * * @return string */ public function __toString() { return EventType::getEventName($this->getType()) . ': manufacturer dependent'; }