mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
25 lines
562 B
PHP
25 lines
562 B
PHP
<?php
|
|
namespace Firefly\Storage;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class StorageServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
|
|
// Triggered automatically by Laravel
|
|
public function register()
|
|
{
|
|
// storage:
|
|
$this->app->bind(
|
|
'Firefly\Storage\User\UserRepositoryInterface',
|
|
'Firefly\Storage\User\EloquentUserRepository'
|
|
);
|
|
|
|
$this->app->bind(
|
|
'Firefly\Storage\Account\AccountRepositoryInterface',
|
|
'Firefly\Storage\Account\EloquentAccountRepository'
|
|
);
|
|
}
|
|
|
|
} |