key = $this->env['key']; $this->value = $this->env['value'] ?? null; $this->comment = $this->env['comment'] ?? null; $this->serviceName = $this->env['service_name'] ?? null; } public function copyValue(): ?string { if (auth()->user()?->isMember() ?? true) { return null; } return EnvironmentVariable::make([ 'value' => $this->value, 'is_preview' => $this->isPreview, 'resourceable_type' => $this->resourceableType, 'resourceable_id' => $this->resourceableId, ])->resolveReferencedValue(); } public function render() { return view('livewire.project.shared.environment-variable.show-hardcoded'); } }