source/Redis/Connection.php
public function llen($key) {
        try {
            $length = $this->getRedis()->lLen($key);
            if ($length === false) {
                throw new ImpossibleValueException();
            }
            return $length;
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function llen($key) {
        try {
            $length = $this->getRedis()->lLen($key);
            if ($length === false) {
                throw new ImpossibleValueException();
            }
            return $length;
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function llen ( $ key ) { try { $ length = $ this -> getRedis ( ) -> lLen ( $ key ) ; if ( $ length === false ) { throw new ImpossibleValueException ( ) ; } return $ length ; } catch ( RedisException $ ex ) { throw new ConnectException ( ) ; } }
Returns list length
@param string $key list key
@throws ConnectException exception on connection to redis instance
@throws ImpossibleValueException when found key is not a list
Returns list length