mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
57 lines
1.4 KiB
PHP
57 lines
1.4 KiB
PHP
<?php
|
|
namespace Firefly\Helper;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
/**
|
|
* Class HelperServiceProvider
|
|
*
|
|
* @package Firefly\Helper
|
|
*/
|
|
class HelperServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
|
|
/**
|
|
* Triggered automatically by Laravel
|
|
*/
|
|
public function register()
|
|
{
|
|
// controllers:
|
|
$this->app->bind(
|
|
'Firefly\Helper\Controllers\AccountInterface',
|
|
'Firefly\Helper\Controllers\Account'
|
|
);
|
|
$this->app->bind(
|
|
'Firefly\Helper\Controllers\ChartInterface',
|
|
'Firefly\Helper\Controllers\Chart'
|
|
);
|
|
$this->app->bind(
|
|
'Firefly\Helper\Controllers\CategoryInterface',
|
|
'Firefly\Helper\Controllers\Category'
|
|
);
|
|
|
|
$this->app->bind(
|
|
'Firefly\Helper\Controllers\BudgetInterface',
|
|
'Firefly\Helper\Controllers\Budget'
|
|
);
|
|
|
|
// mail:
|
|
$this->app->bind(
|
|
'Firefly\Helper\Email\EmailHelperInterface',
|
|
'Firefly\Helper\Email\EmailHelper'
|
|
);
|
|
|
|
// settings:
|
|
$this->app->bind(
|
|
'Firefly\Helper\Preferences\PreferencesHelperInterface',
|
|
'Firefly\Helper\Preferences\PreferencesHelper'
|
|
);
|
|
// settings:
|
|
$this->app->bind(
|
|
'Firefly\Helper\Toolkit\ToolkitInterface',
|
|
'Firefly\Helper\Toolkit\Toolkit'
|
|
);
|
|
}
|
|
|
|
} |