2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
|
|
|
namespace Firefly\Helper;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* Class HelperServiceProvider
|
|
|
|
*
|
|
|
|
* @package Firefly\Helper
|
|
|
|
*/
|
2014-06-29 15:12:33 -05:00
|
|
|
class HelperServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* Triggered automatically by Laravel
|
|
|
|
*/
|
2014-06-29 15:12:33 -05:00
|
|
|
public function register()
|
|
|
|
{
|
2014-07-26 11:53:41 -05:00
|
|
|
// controllers:
|
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Controllers\AccountInterface',
|
|
|
|
'Firefly\Helper\Controllers\Account'
|
|
|
|
);
|
2014-07-29 05:55:41 -05:00
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Controllers\ChartInterface',
|
|
|
|
'Firefly\Helper\Controllers\Chart'
|
|
|
|
);
|
2014-07-30 07:45:46 -05:00
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Controllers\CategoryInterface',
|
|
|
|
'Firefly\Helper\Controllers\Category'
|
|
|
|
);
|
2014-07-26 11:53:41 -05:00
|
|
|
|
2014-07-27 13:29:58 -05:00
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Controllers\BudgetInterface',
|
|
|
|
'Firefly\Helper\Controllers\Budget'
|
|
|
|
);
|
|
|
|
|
2014-06-29 15:12:33 -05:00
|
|
|
// mail:
|
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Email\EmailHelperInterface',
|
|
|
|
'Firefly\Helper\Email\EmailHelper'
|
|
|
|
);
|
2014-07-05 09:19:15 -05:00
|
|
|
|
2014-07-06 08:18:11 -05:00
|
|
|
// settings:
|
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Preferences\PreferencesHelperInterface',
|
|
|
|
'Firefly\Helper\Preferences\PreferencesHelper'
|
|
|
|
);
|
2014-07-22 23:57:51 -05:00
|
|
|
// settings:
|
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Toolkit\ToolkitInterface',
|
|
|
|
'Firefly\Helper\Toolkit\Toolkit'
|
|
|
|
);
|
2014-06-29 15:12:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|