firefly-iii/app/lib/Firefly/Helper/Controllers/AccountInterface.php
2014-08-10 15:01:46 +02:00

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);
}