name($name); } public static function make(string $name): static { $static = app(static::class, ['name' => $name]); $static->configure(); return $static; } protected function getDefaultEvaluationParameters(): array { return array_merge(parent::getDefaultEvaluationParameters(), [ 'livewire' => $this->getLivewire(), 'record' => $this->getRecord(), 'rowLoop' => $this->getRowLoop(), ]); } }