lithium\storage\cache\adapter\Memcache::__call()

public method

Dispatches a not-found method to the connection object. That way, one can easily use a custom method on the adapter. If you want to know, what methods are available, have a look at the documentation of memcached.

Cache::adapter('memcache')->methodName($argument);

Parameters

  • string $method

    Name of the method to call.

  • array $params

    Parameter list to use when calling $method.

Returns

mixed

Returns the result of the method call.

Source

	public function __call($method, $params = []) {
		return call_user_func_array([&$this->connection, $method], $params);
	}