2015-06-27 11:44:18 +02:00
|
|
|
<?php
|
2016-01-28 21:50:20 +01:00
|
|
|
/**
|
|
|
|
* BillChartGeneratorInterface.php
|
2016-04-01 16:44:46 +02:00
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
2016-01-28 21:50:20 +01:00
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms
|
|
|
|
* of the MIT license. See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2016-05-20 12:27:31 +02:00
|
|
|
declare(strict_types = 1);
|
|
|
|
|
2015-06-27 11:44:18 +02:00
|
|
|
namespace FireflyIII\Generator\Chart\Bill;
|
|
|
|
|
|
|
|
|
|
|
|
use FireflyIII\Models\Bill;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
2016-01-28 21:50:20 +01:00
|
|
|
* Interface BillChartGeneratorInterface
|
2015-06-27 11:44:18 +02:00
|
|
|
*
|
|
|
|
* @package FireflyIII\Generator\Chart\Bill
|
|
|
|
*/
|
2016-01-28 21:50:20 +01:00
|
|
|
interface BillChartGeneratorInterface
|
2015-06-27 11:44:18 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
2015-12-27 17:29:41 +01:00
|
|
|
* @param string $paid
|
|
|
|
* @param string $unpaid
|
2015-06-27 11:44:18 +02:00
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2016-02-18 07:21:48 +01:00
|
|
|
public function frontpage(string $paid, string $unpaid): array;
|
2015-06-27 11:44:18 +02:00
|
|
|
|
|
|
|
/**
|
2015-06-28 10:38:51 +02:00
|
|
|
* @param Bill $bill
|
|
|
|
* @param Collection $entries
|
2015-06-27 11:44:18 +02:00
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2016-02-18 07:21:48 +01:00
|
|
|
public function single(Bill $bill, Collection $entries): array;
|
2015-06-27 11:44:18 +02:00
|
|
|
|
2015-06-28 08:24:12 +02:00
|
|
|
}
|