public static function getNextMonths($target, $withCurrent = true)
    {
        $months = array_keys(self::getMonths());
        $months = array_reverse($months);

        $result = self::getMonthSequence($months, $target, $withCurrent);
        return array_reverse($result);
    }
public static function getNextMonths($target, $withCurrent = true)
    {
        $months = array_keys(self::getMonths());
        $months = array_reverse($months);

        $result = self::getMonthSequence($months, $target, $withCurrent);
        return array_reverse($result);
    }
public static function getNextMonths ( $ target , $ withCurrent = true ) { $ months = array_keys ( self :: getMonths ( ) ) ; $ months = array_reverse ( $ months ) ; $ result = self :: getMonthSequence ( $ months , $ target , $ withCurrent ) ; return array_reverse ( $ result ) ; }
Returns a collection of next months

@param string $target
@param string $withCurrent Whether to include $target in resultset
@return array
Returns a collection of next months