2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
|
|
|
namespace Firefly\Helper;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
class HelperServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// Triggered automatically by Laravel
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
// 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-06-29 15:12:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|