firefly-iii/app/lib/Firefly/Helper/HelperServiceProvider.php

32 lines
742 B
PHP
Raw Normal View History

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