public function increment($byAmount = 1) {
		if ($this->name === null) {
			throw new InvalidConfigException(get_class($this)." requires a name!");
		}
		return $this->_value = (int) $this->getConnection()->getClient()->incrBy($this->name,$byAmount);
	}
public function increment($byAmount = 1) {
		if ($this->name === null) {
			throw new InvalidConfigException(get_class($this)." requires a name!");
		}
		return $this->_value = (int) $this->getConnection()->getClient()->incrBy($this->name,$byAmount);
	}
public function increment ( $ byAmount = 1 ) { if ( $ this -> name === null ) { throw new InvalidConfigException ( get_class ( $ this ) . " requires a name!" ) ; } return $ this -> _value = ( int ) $ this -> getConnection ( ) -> getClient ( ) -> incrBy ( $ this -> name , $ byAmount ) ; }
Increments the counter by the given amount
@param integer $byAmount the amount to increment by, defaults to 1
@return integer the new value of the counter
Increments the counter by the given amount