Example #1
0
 public function __isset($property)
 {
     // Workaround fixed in https://github.com/silverstripe/silverstripe-framework/pull/3201
     // Remove this once we update to a version of framework which supports this
     if ($property === 'MessagingService') {
         return !empty($this->messagingService);
     }
     return parent::__isset($property);
 }