New middleware

This commit is contained in:
James Cole
2016-01-09 15:39:34 +01:00
parent d439dceac1
commit a14544398b
6 changed files with 181 additions and 96 deletions

32
app/Support/Domain.php Normal file
View File

@@ -0,0 +1,32 @@
<?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 [
'account' => 'FireflyIII\Models\Account',
'accountList' => 'FireflyIII\Support\Binder\AccountList',
'start_date' => 'FireflyIII\Support\Binder\Date',
'end_date' => 'FireflyIII\Support\Binder\Date',
];
}
}