actions([ $this->getViewAction(), $this->getEditAction(), $this->getDissociateAction(), $this->getDeleteAction(), ]); $table->bulkActions(array_merge( ($this->canDeleteAny() ? [$this->getDeleteBulkAction()] : []), ($this->canDissociateAny() ? [$this->getDissociateBulkAction()] : []), )); $table->headerActions(array_merge( ($this->canCreate() ? [$this->getCreateAction()] : []), ($this->canAssociate() ? [$this->getAssociateAction()] : []), )); return $this->table($table); } }