/** * Get the widget data to send to the view * @return array */ protected function data() { return ['totalAcceptedAndCompleted' => $this->entry->countAcceptedAndCompleted(), 'totalAcceptedAndNotCompleted' => $this->entry->countAcceptedAndNotCompleted(), 'totalNotInvited' => $this->entry->countTotalNotInvited()]; }