Beispiel #1
0
 /**
  * Get notification type
  *
  * @return NotificationType
  */
 public function getNotificationType()
 {
     if (null === $this->notificationType) {
         return NotificationType::fromString(self::DEFAULT_NOTIFICATION_TYPE);
     }
     return $this->notificationType;
 }
 /**
  * Get notification type
  *
  * @return NotificationType
  */
 public function getNotificationType()
 {
     if (is_null($this->notificationType)) {
         return NotificationType::fromString();
     }
     return $this->notificationType;
 }
Beispiel #3
0
 /**
  * Get known notification types
  *
  * @return NotificationType[]
  */
 protected function getKnownNotificationTypes()
 {
     return array(NotificationType::fromString(), NotificationType::fromString('urn:schemas-upnp-org:device:MediaServer:1'), NotificationType::fromString('urn:schemas-upnp-org:service:ContentDirectory:1'), NotificationType::fromString('urn:schemas-upnp-org:service:ConnectionManager:1'));
 }