belongsTo(Account::class); } /** * Get the contact record associated with the gift. * * @return BelongsTo */ public function contact() { return $this->belongsTo(Contact::class); } /** * Return the markdown parsed body. * * @return string */ public function getParsedContentAttribute() { if (is_null($this->content)) { return; } return (new Parsedown())->text($this->content); } }