public function increment($subject)
    {
        $bucket = $this->getBucket();
        $subject = $this->key.':'.$subject;

        $multi = $this->client->transaction();
        $this->addMultiExecIncrement($multi, $subject, $bucket);
        $multi->exec();
    }
public function increment($subject)
    {
        $bucket = $this->getBucket();
        $subject = $this->key.':'.$subject;

        $multi = $this->client->transaction();
        $this->addMultiExecIncrement($multi, $subject, $bucket);
        $multi->exec();
    }
public function increment ( $ subject ) { $ bucket = $ this -> getBucket ( ) ; $ subject = $ this -> key . ':' . $ subject ; $ multi = $ this -> client -> transaction ( ) ; $ this -> addMultiExecIncrement ( $ multi , $ subject , $ bucket ) ; $ multi -> exec ( ) ; }
Increment the count for the specified subject.

@param string $subject A unique identifier, for example a session id or an IP
Increment the count for the specified subject .