$this->string('name')->toString(), 'source' => $this->string('source')->toString(), 'target' => $this->string('target')->toString(), ]; if ($this->exists('description')) { $payload['description'] = JsonValueGuard::nullableString($this->input('description')); } if ($this->exists('read_only')) { $payload['read_only'] = $this->boolean('read_only'); } if ($this->exists('user_mountable')) { $payload['user_mountable'] = $this->boolean('user_mountable'); } return $payload; } }