Session::__get( string $name ): mixed|null

In this article

Get a property’s value

Parameters

$namestringrequired
Property name.

Return

mixed|null Property value, null if none found

Source

public function __get($name) {
	if (isset($this->options[$name])) {
		return $this->options[$name];
	}

	return null;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.