mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
49 lines
1.4 KiB
PHP
49 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Domain.php
|
|
* Copyright (C) 2016 Sander Dorigo
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
namespace FireflyIII\Support;
|
|
|
|
/**
|
|
* Class Domain
|
|
*
|
|
* @package FireflyIII\Support
|
|
*/
|
|
class Domain
|
|
{
|
|
/**
|
|
* @return array
|
|
*/
|
|
public static function getBindables()
|
|
{
|
|
return [
|
|
// models
|
|
'account' => 'FireflyIII\Models\Account',
|
|
'attachment' => 'FireflyIII\Models\Attachment',
|
|
'bill' => 'FireflyIII\Models\Bill',
|
|
'budget' => 'FireflyIII\Models\Budget',
|
|
'category' => 'FireflyIII\Models\Category',
|
|
'currency' => 'FireflyIII\Models\Currency',
|
|
'limitrepetition' => 'FireflyIII\Models\LimitRepetition',
|
|
'piggyBank' => 'FireflyIII\Models\PiggyBank',
|
|
'tj' => 'FireflyIII\Models\TransactionJournal',
|
|
'tag' => 'FireflyIII\Models\Tag',
|
|
// lists
|
|
'accountList' => 'FireflyIII\Support\Binder\AccountList',
|
|
'budgetList' => 'FireflyIII\Support\Binder\BudgetList',
|
|
'categoryList' => 'FireflyIII\Support\Binder\CategoryList',
|
|
|
|
// others
|
|
'start_date' => 'FireflyIII\Support\Binder\Date',
|
|
'end_date' => 'FireflyIII\Support\Binder\Date'
|
|
];
|
|
|
|
|
|
}
|
|
|
|
} |