mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 12:15:55 +00:00
All kinds of new stuff. Started with perfecting the account controller. [skip ci]
This commit is contained in:
31
app/lib/Firefly/Helper/Controllers/AccountInterface.php
Normal file
31
app/lib/Firefly/Helper/Controllers/AccountInterface.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user