Ejemplo n.º 1
0
	/**
	 * Resets the counter for the specified subject.
	 *
	 * @param string $subject A unique identifier, for example a session id or an IP
	 * @return bool
	 */
	public function reset($subject) {
		$keyName = $this->_getKeyName($subject);
		return (bool) $this->_rediska->del($keyName);
	}