protected function createPostArray(Posts $post) { return ['slug' => "discussion/{$post->id}/{$post->slug}", 'title' => $post->title, 'created' => $post->getHumanCreatedAt()]; }