Tribe__Repository::set( string $key, mixed $value )

Sets the args to be updated during save process.


Parameters

$key

(string) (Required) Argument key.

$value

(mixed) (Required) Argument value.


Top ↑

Return

($this)


Top ↑

Source

File: src/Tribe/Repository.php

	public function set( $key, $value ) {
		if ( ! is_string( $key ) ) {
			throw Tribe__Repository__Usage_Error::because_udpate_key_should_be_a_string( $this );
		}

		$this->updates[ $key ] = $value;

		return $this;
	}