mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
26 lines
612 B
PHP
26 lines
612 B
PHP
<?php
|
|
|
|
/**
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Chill\BudgetBundle\Service\Summary;
|
|
|
|
use Chill\PersonBundle\Entity\Household\Household;
|
|
use Chill\PersonBundle\Entity\Person;
|
|
|
|
/**
|
|
* Helps to find a summary of the budget: the sum of resources and charges.
|
|
*/
|
|
interface SummaryBudgetInterface
|
|
{
|
|
public function getSummaryForHousehold(?Household $household): array;
|
|
|
|
public function getSummaryForPerson(?Person $person): array;
|
|
}
|