mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-21 19:47:48 +00:00
32 lines
536 B
PHP
32 lines
536 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Database\Ifaces;
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
/**
|
|
* Interface ReportInterface
|
|
*
|
|
* @package FireflyIII\Database\Ifaces
|
|
*/
|
|
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);
|
|
|
|
}
|