| 1 | <?php namespace Arcanesoft\Tracker\Support; |
||
| 14 | class DateRange |
||
| 15 | { |
||
| 16 | /* ------------------------------------------------------------------------------------------------ |
||
| 17 | | Main Functions |
||
| 18 | | ------------------------------------------------------------------------------------------------ |
||
| 19 | */ |
||
| 20 | /** |
||
| 21 | * Get current month's days range. |
||
| 22 | * |
||
| 23 | * @param string $keyFormat |
||
| 24 | * @param string $interval |
||
| 25 | * |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | public static function getCurrentMonthDaysRange($keyFormat = 'Y-m-d', $interval = '1 day') |
||
| 42 | } |
||
| 43 |