public function range ($start = 0 , $stop = -1) {
        if ($this->name === null) {
            throw new InvalidConfigException(get_class ($this) . " requires a name!");
        }
        return $this->getConnection ()->getSlave ()->lrange ($this->name , $start , $stop);
    }
public function range ($start = 0 , $stop = -1) {
        if ($this->name === null) {
            throw new InvalidConfigException(get_class ($this) . " requires a name!");
        }
        return $this->getConnection ()->getSlave ()->lrange ($this->name , $start , $stop);
    }
public function range ( $ start = 0 , $ stop = - 1 ) { if ( $ this -> name === null ) { throw new InvalidConfigException ( get_class ( $ this ) . " requires a name!" ) ; } return $ this -> getConnection ( ) -> getSlave ( ) -> lrange ( $ this -> name , $ start , $ stop ) ; }
Gets a range of items in the list
@param integer $start the 0 based index to start from
@param integer $stop the 0 based index to end at
@return array the items in the range
@throws InvalidConfigException
Gets a range of items in the list