$actions */ class ActionGroup extends BaseActionGroup implements HasRecord, HasTable { use InteractsWithRecord; public function record(Model | Closure | null $record): static { $this->record = $record; foreach ($this->actions as $action) { if (! $action instanceof HasRecord) { continue; } $action->record($record); } return $this; } public function table(Table $table): static { foreach ($this->actions as $action) { if (! $action instanceof HasTable) { continue; } $action->table($table); } return $this; } }