mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-23 15:03:14 -06:00
26 lines
458 B
PHP
26 lines
458 B
PHP
<?php
|
|
use Carbon\Carbon;
|
|
use League\FactoryMuffin\Facade;
|
|
|
|
Facade::define(
|
|
'LimitRepetition',
|
|
[
|
|
|
|
'limit_id' => 'factory|Limit',
|
|
'startdate' => function () {
|
|
$start = new Carbon;
|
|
$start->startOfMonth();
|
|
return $start;
|
|
|
|
},
|
|
'enddate' => function () {
|
|
$end = new Carbon;
|
|
$end->endOfMonth();
|
|
return $end;
|
|
|
|
},
|
|
'amount' => 100
|
|
|
|
|
|
]
|
|
); |