mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Removed a bunch of methods and code that wasn't used. Also added a repository for repeated expenses.
This commit is contained in:
@@ -42,12 +42,6 @@ interface AccountInterface
|
||||
*/
|
||||
public function countRevenueAccounts();
|
||||
|
||||
/**
|
||||
* @param array $parameters
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param \Account $account
|
||||
*
|
||||
@@ -59,38 +53,29 @@ interface AccountInterface
|
||||
* Get all accounts of the selected types. Is also capable of handling DataTables' parameters.
|
||||
*
|
||||
* @param array $types
|
||||
* @param array $parameters
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getAccountsByType(array $types, array $parameters = []);
|
||||
public function getAccountsByType(array $types);
|
||||
|
||||
/**
|
||||
* Get all asset accounts. The parameters are optional and are provided by the DataTables plugin.
|
||||
*
|
||||
* @param array $parameters
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getAssetAccounts(array $parameters = []);
|
||||
public function getAssetAccounts();
|
||||
|
||||
/**
|
||||
* Get all default accounts.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getDefaultAccounts();
|
||||
|
||||
public function getExpenseAccounts(array $parameters = []);
|
||||
public function getExpenseAccounts();
|
||||
|
||||
/**
|
||||
* Get all revenue accounts.
|
||||
*
|
||||
* @param array $parameters
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getRevenueAccounts(array $parameters = []);
|
||||
public function getRevenueAccounts();
|
||||
|
||||
/**
|
||||
* @param \Account $account
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
namespace FireflyIII\Database\Ifaces;
|
||||
|
||||
/**
|
||||
* Interface AccountTypeInterface
|
||||
*
|
||||
* @package FireflyIII\Database
|
||||
*/
|
||||
interface AccountTypeInterface
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
@@ -44,14 +44,4 @@ interface CUD
|
||||
*/
|
||||
public function validate(array $model);
|
||||
|
||||
/**
|
||||
* Validates a model. Returns an array containing MessageBags
|
||||
* errors/warnings/successes.
|
||||
*
|
||||
* @param Ardent $model
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function validateObject(Ardent $model);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Database\Ifaces;
|
||||
|
||||
/**
|
||||
* Interface CategoryInterface
|
||||
*
|
||||
* @package FireflyIII\Database
|
||||
*/
|
||||
interface CategoryInterface
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Database\Ifaces;
|
||||
|
||||
/**
|
||||
* Interface AccountInterface
|
||||
*
|
||||
* @package FireflyIII\Database
|
||||
*/
|
||||
interface RecurringTransactionInterface
|
||||
{
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Database\Ifaces;
|
||||
|
||||
|
||||
/**
|
||||
* Interface TransactionInterface
|
||||
*
|
||||
* @package FireflyIII\Database
|
||||
*/
|
||||
interface TransactionInterface
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Database\Ifaces;
|
||||
|
||||
|
||||
/**
|
||||
* Interface TransactionTypeInterface
|
||||
*
|
||||
* @package FireflyIII\Database
|
||||
*/
|
||||
interface TransactionTypeInterface
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user