spec/Mock/Collection.php
public function prev()
    {
        $value = prev($this->_data);
        return key($this->_data) !== null ? $value : null;
    }
public function prev()
    {
        $value = prev($this->_data);
        return key($this->_data) !== null ? $value : null;
    }
public function prev ( ) { $ value = prev ( $ this -> _data ) ; return key ( $ this -> _data ) !== null ? $ value : null ; }
Moves backward to the previous item.

@return mixed The previous item.
Moves backward to the previous item .