firefly-iii/app/Providers/FireflyServiceProvider.php

28 lines
601 B
PHP
Raw Normal View History

2015-02-06 13:43:19 -06:00
<?php
namespace FireflyIII\Providers;
use Illuminate\Support\ServiceProvider;
class FireflyServiceProvider extends ServiceProvider
{
public function register()
{
$this->app->bind(
'preferences', function () {
return new \FireflyIII\Support\Preferences;
}
);
2015-02-06 14:23:14 -06:00
$this->app->bind(
'navigation', function () {
return new \FireflyIII\Support\Navigation;
}
);
2015-02-06 23:49:24 -06:00
$this->app->bind(
'amount', function () {
return new \FireflyIII\Support\Amount;
}
);
2015-02-06 13:43:19 -06:00
}
}