public function setCustomProperty(string $name, $value) { $this->custom_properties = array_merge($this->custom_properties, [$name => $value]); }