src/Tools.php
public static function dataPeloFator($fator)
    {
        $fator = intval($fator);
        $base = Carbon::createFromFormat('d.m.Y', '07.10.1997');

        return $base->addDays($fator);
    }
public static function dataPeloFator($fator)
    {
        $fator = intval($fator);
        $base = Carbon::createFromFormat('d.m.Y', '07.10.1997');

        return $base->addDays($fator);
    }
public static function dataPeloFator ( $ fator ) { $ fator = intval ( $ fator ) ; $ base = Carbon :: createFromFormat ( 'd.m.Y' , '07.10.1997' ) ; return $ base -> addDays ( $ fator ) ; }
Retorna a data pelo fator de vencimento.

@param $fator
@return Carbon
Retorna a data pelo fator de vencimento .