src/core/class-papi-core-property.php
public function set_option( $key, $value ) {
		if ( ! is_object( $this->options ) ) {
			$this->options = (object) $this->default_options;
		}

		$this->options->$key = $value;
	}
public function set_option( $key, $value ) {
		if ( ! is_object( $this->options ) ) {
			$this->options = (object) $this->default_options;
		}

		$this->options->$key = $value;
	}
Set property option value.

@param string $key
@param mixed  $value