private function getViewData($post = null)
    {
        return [
            'reviewers'     => $this->user->reviewers(),
            'statuses'      => $this->status->all(),
            'categories'    => $this->category->all(),
            'visibility'    => $this->visibility->all(),
            'publish_date'  => Carbon::now()->format('d-m-Y H:i'),
            'post'          => $post,
        ];
    }
private function getViewData($post = null)
    {
        return [
            'reviewers'     => $this->user->reviewers(),
            'statuses'      => $this->status->all(),
            'categories'    => $this->category->all(),
            'visibility'    => $this->visibility->all(),
            'publish_date'  => Carbon::now()->format('d-m-Y H:i'),
            'post'          => $post,
        ];
    }
private function getViewData ( $ post = null ) { return [ 'reviewers' => $ this -> user -> reviewers ( ) , 'statuses' => $ this -> status -> all ( ) , 'categories' => $ this -> category -> all ( ) , 'visibility' => $ this -> visibility -> all ( ) , 'publish_date' => Carbon :: now ( ) -> format ( 'd-m-Y H:i' ) , 'post' => $ post , ] ; }
Get the default data for the
create and edit view

@param $post
@return array
Get the default data for the create and edit view