mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
23 lines
394 B
PHP
23 lines
394 B
PHP
<?php
|
|
/*
|
|
*
|
|
*/
|
|
namespace Chill\AMLI\BudgetBundle\Calculator;
|
|
|
|
use Chill\AMLI\BudgetBundle\Entity\AbstractElement;
|
|
|
|
/**
|
|
*
|
|
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
|
*/
|
|
interface CalculatorInterface
|
|
{
|
|
/**
|
|
*
|
|
* @param AbstractElement[] $elements
|
|
*/
|
|
public function calculate(array $elements) : ?CalculatorResult;
|
|
|
|
public function getAlias();
|
|
}
|