public function type($key)
    {
        $start = microtime(true);
        $ret = (string)$this->getRedis($key)->type($this->getPatternKey().$key);
        $this->notifyEvent('type', array($this->getPatternKey().$key), microtime(true) - $start);

        return $ret;
    }
public function type($key)
    {
        $start = microtime(true);
        $ret = (string)$this->getRedis($key)->type($this->getPatternKey().$key);
        $this->notifyEvent('type', array($this->getPatternKey().$key), microtime(true) - $start);

        return $ret;
    }
public function type ( $ key ) { $ start = microtime ( true ) ; $ ret = ( string ) $ this -> getRedis ( $ key ) -> type ( $ this -> getPatternKey ( ) . $ key ) ; $ this -> notifyEvent ( 'type' , array ( $ this -> getPatternKey ( ) . $ key ) , microtime ( true ) - $ start ) ; return $ ret ; }
return the type of a key

@param string $key clé

@return mixed
return the type of a key