/** * Parse the body of the notification * * @return $this */ public function parse() { $parser = new NotifynderParser(); foreach ($this->items as $key => $item) { $this->items[$key]['text'] = $parser->parse($item); } return $this; }
/** * Get parsed body attributes. * * @return string */ public function getNotifyBodyAttribute() { $notifynderParse = new NotifynderParser(); return $notifynderParse->parse($this); }