PHP magic method used when setting properties on the `Document` instance, i.e. `$document->title = 'Lorem Ipsum'`. If `$value` is a complex data type (i.e. associative array), it is wrapped in a sub-`Document` object before being appended.

Parameters

  • $value The value to write, i.e. `'Lorem Ipsum'`.

Returns

void

Source

						public function __set($name, $value = null) {
		$this->set(array($name => $value));
	}