Files
firefly-iii/app/Repositories/Account/AccountTaskerInterface.php

42 lines
874 B
PHP
Raw Normal View History

2016-10-08 14:54:32 +02:00
<?php
/**
* AccountTaskerInterface.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
2016-10-08 14:54:32 +02:00
namespace FireflyIII\Repositories\Account;
2016-10-08 16:04:05 +02:00
use Carbon\Carbon;
use FireflyIII\User;
2016-10-08 16:04:05 +02:00
use Illuminate\Support\Collection;
2016-10-08 14:54:32 +02:00
/**
* Interface AccountTaskerInterface
*
* @package FireflyIII\Repositories\Account
*/
interface AccountTaskerInterface
{
2016-10-09 16:22:08 +02:00
/**
2016-12-06 08:59:08 +01:00
* @param Collection $accounts
2016-10-09 16:22:08 +02:00
* @param Carbon $start
* @param Carbon $end
*
* @return array
2016-10-09 16:22:08 +02:00
*/
public function getAccountReport(Collection $accounts, Carbon $start, Carbon $end): array;
2016-10-09 16:22:08 +02:00
2017-01-30 16:42:58 +01:00
/**
* @param User $user
*/
public function setUser(User $user);
2016-10-23 12:42:44 +02:00
}