event) { 'approved' => 'Your story "' . $this->story->title . '" was approved and published.', 'rejected' => 'Your story "' . $this->story->title . '" was rejected. Update it and resubmit for review.', 'published' => 'Your story "' . $this->story->title . '" is now published.', default => 'Story update: "' . $this->story->title . '" status changed.', }; return [ 'type' => 'story.' . $this->event, 'story_id' => $this->story->id, 'title' => $this->story->title, 'slug' => $this->story->slug, 'status' => $this->story->status, 'reason' => $this->reason, 'message' => $message, 'url' => route('creator.stories.edit', ['story' => $this->story->id]), ]; } }