firefly-iii/app/Generator/Chart/Bill/BillChartGeneratorInterface.php

42 lines
820 B
PHP
Raw Normal View History

2015-06-27 04:44:18 -05:00
<?php
2016-02-05 05:08:25 -06:00
declare(strict_types = 1);
/**
* 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;
/**
* Interface BillChartGeneratorInterface
2015-06-27 04:44:18 -05:00
*
* @package FireflyIII\Generator\Chart\Bill
*/
interface BillChartGeneratorInterface
2015-06-27 04:44:18 -05: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
}