| ActionGroup | Closure */ protected array | ActionGroup | Closure $actions = []; /** * @param array | ActionGroup | Closure $actions */ public function actions(array | ActionGroup | Closure $actions): static { $this->actions = $actions; return $this; } /** * @return array */ public function getActions(): array { return Arr::wrap($this->evaluate($this->actions)); } }