| Closure */ protected array | Closure $arguments = []; /** * @param array | Closure $arguments */ public function arguments(array | Closure $arguments): static { $this->arguments = $arguments; return $this; } /** * @return array */ public function getArguments(): array { return $this->evaluate($this->arguments) ?? []; } }