lithium\storage\cache\adapter\Memory::__get()

public method

Magic method to provide an accessor (getter) to protected class variables.

Parameters

  • string $variable

    The variable requested.

Returns

mixed

Variable if it exists, null otherwise.

Source

	public function __get($variable) {
		if (isset($this->{"_$variable"})) {
			return $this->{"_$variable"};
		}
	}