Example #1
0
 public function process()
 {
     if ($this->object->notifyUpdateServices()) {
         return $this->success();
     } else {
         return $this->failure();
     }
 }
Example #2
0
 public function afterSave()
 {
     $afterSave = parent::afterSave();
     if ($this->isPublishing) {
         $this->object->notifyUpdateServices();
         $this->object->sendNotifications();
     }
     $this->clearContainerCache();
     return $afterSave;
 }