public function rewind()
    {
        if ($this->getWalkFlag() & self::WALK_X) {
            return $this->rewindX();
        } elseif ($this->getWalkFlag() & self::WALK_Y) {
            return $this->rewindY();
        } else {
            return $this->rewindXY();
        }
    }
public function rewind()
    {
        if ($this->getWalkFlag() & self::WALK_X) {
            return $this->rewindX();
        } elseif ($this->getWalkFlag() & self::WALK_Y) {
            return $this->rewindY();
        } else {
            return $this->rewindXY();
        }
    }
public function rewind ( ) { if ( $ this -> getWalkFlag ( ) & self :: WALK_X ) { return $ this -> rewindX ( ) ; } elseif ( $ this -> getWalkFlag ( ) & self :: WALK_Y ) { return $ this -> rewindY ( ) ; } else { return $ this -> rewindXY ( ) ; } }
Rewind a matrix according to its flag value

@return  $this
@see     self::rewindX()
@see     self::rewindY()
@see     self::rewindXY()
Rewind a matrix according to its flag value