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