name = $name; return $this; } public function getName(): ?string { if (blank($this->name)) { $actionClass = static::class; throw new Exception("Action of class [$actionClass] must have a unique name, passed to the [make()] method."); } return $this->name; } }