mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-22 12:04:00 +00:00
27 lines
457 B
PHP
27 lines
457 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace FireflyIII\Database\Ifaces;
|
||
|
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
|
||
|
interface ReportInterface
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @param \Account $account
|
||
|
* @param Carbon $month
|
||
|
*
|
||
|
* @return float
|
||
|
*/
|
||
|
public function getExpenseByMonth(\Account $account, Carbon $month);
|
||
|
|
||
|
/**
|
||
|
* @param \Account $account
|
||
|
* @param Carbon $month
|
||
|
*
|
||
|
* @return float
|
||
|
*/
|
||
|
public function getIncomeByMonth(\Account $account, Carbon $month);
|
||
|
|
||
|
}
|