mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 06:33:57 -06:00
39 lines
671 B
PHP
39 lines
671 B
PHP
<?php
|
|
|
|
namespace Firefly\Helper\Controllers;
|
|
|
|
use Illuminate\Database\Eloquent\Collection;
|
|
|
|
/**
|
|
* Interface AccountInterface
|
|
*
|
|
* @package Firefly\Helper\Controllers
|
|
*/
|
|
interface AccountInterface
|
|
{
|
|
|
|
/**
|
|
* Build the index:
|
|
*
|
|
* @param Collection $accounts
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function index(Collection $accounts);
|
|
|
|
/**
|
|
* @param \Account $account
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function openingBalanceTransaction(\Account $account);
|
|
|
|
/**
|
|
* @param \Account $account
|
|
* @param $perPage
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function show(\Account $account, $perPage);
|
|
|
|
}
|