firefly-iii/app/lib/Firefly/Storage/StorageServiceProvider.php
2014-06-30 07:26:38 +02:00

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'
);
}
}