Bundle/ViewReferenceBundle/Connector/Redis/ViewReferenceRedisManager.php
public function index($id, $values)
    {
        foreach ($values as $name => $value) {
            $key = $this->tools->generateKey($name.'_'.$this->alias, $value);
            // Store id for value
            $this->redis->sadd($key, $id);
        }
    }
public function index($id, $values)
    {
        foreach ($values as $name => $value) {
            $key = $this->tools->generateKey($name.'_'.$this->alias, $value);
            // Store id for value
            $this->redis->sadd($key, $id);
        }
    }
public function index ( $ id , $ values ) { foreach ( $ values as $ name => $ value ) { $ key = $ this -> tools -> generateKey ( $ name . '_' . $ this -> alias , $ value ) ; // Store id for value $ this -> redis -> sadd ( $ key , $ id ) ; } }
This method index a reference.

@param $id
@param $values
This method index a reference .