public function incrementRepositoryAccess($repository)
    {
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), self::KEY_TOTAL, 1);

        $key = $this->createDailyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        $key = $this->createMonthlyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        $key = $this->createYearlyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        return $this;
    }
public function incrementRepositoryAccess($repository)
    {
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), self::KEY_TOTAL, 1);

        $key = $this->createDailyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        $key = $this->createMonthlyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        $key = $this->createYearlyKey(self::KEY_TOTAL);
        $this->redis->hincrby($this->concatenateKeys($this->keyHash, $repository), $key, 1);

        return $this;
    }
public function incrementRepositoryAccess ( $ repository ) { $ this -> redis -> hincrby ( $ this -> concatenateKeys ( $ this -> keyHash , $ repository ) , self :: KEY_TOTAL , 1 ) ; $ key = $ this -> createDailyKey ( self :: KEY_TOTAL ) ; $ this -> redis -> hincrby ( $ this -> concatenateKeys ( $ this -> keyHash , $ repository ) , $ key , 1 ) ; $ key = $ this -> createMonthlyKey ( self :: KEY_TOTAL ) ; $ this -> redis -> hincrby ( $ this -> concatenateKeys ( $ this -> keyHash , $ repository ) , $ key , 1 ) ; $ key = $ this -> createYearlyKey ( self :: KEY_TOTAL ) ; $ this -> redis -> hincrby ( $ this -> concatenateKeys ( $ this -> keyHash , $ repository ) , $ key , 1 ) ; return $ this ; }
Increment by one the repository accesses.

@param string $repository

@return PersisterInterface
Increment by one the repository accesses .