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-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
|
|
|
|
|
|
|
// migration:
|
|
|
|
$this->app->bind(
|
|
|
|
'Firefly\Helper\Migration\MigrationHelperInterface',
|
|
|
|
'Firefly\Helper\Migration\MigrationHelper'
|
|
|
|
);
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|