src/Model/NotificationContents.php
public function save(array $options = array())
    {
        $fired = $this->fires();

        $content = count($fired)
            ? str_replace([$fired['before'], $fired['after']], '', $this->content)
            : $this->content;

        $this->setAttribute('content', $content);
        $this->attributes['content'] = $content;
        parent::save($options);
    }
public function save(array $options = array())
    {
        $fired = $this->fires();

        $content = count($fired)
            ? str_replace([$fired['before'], $fired['after']], '', $this->content)
            : $this->content;

        $this->setAttribute('content', $content);
        $this->attributes['content'] = $content;
        parent::save($options);
    }
public function save ( array $ options = array ( ) ) { $ fired = $ this -> fires ( ) ; $ content = count ( $ fired ) ? str_replace ( [ $ fired [ 'before' ] , $ fired [ 'after' ] ] , '' , $ this -> content ) : $ this -> content ; $ this -> setAttribute ( 'content' , $ content ) ; $ this -> attributes [ 'content' ] = $ content ; parent :: save ( $ options ) ; }
saves notification content without data from fired events

@param array $options
saves notification content without data from fired events