mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
37 lines
900 B
PHP
37 lines
900 B
PHP
<?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'
|
|
);
|
|
// settings:
|
|
$this->app->bind(
|
|
'Firefly\Helper\Toolkit\ToolkitInterface',
|
|
'Firefly\Helper\Toolkit\Toolkit'
|
|
);
|
|
}
|
|
|
|
} |