2015-02-06 20:43:19 +01: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 21:23:14 +01:00
|
|
|
$this->app->bind(
|
|
|
|
'navigation', function () {
|
|
|
|
return new \FireflyIII\Support\Navigation;
|
|
|
|
}
|
|
|
|
);
|
2015-02-07 06:49:24 +01:00
|
|
|
$this->app->bind(
|
|
|
|
'amount', function () {
|
|
|
|
return new \FireflyIII\Support\Amount;
|
|
|
|
}
|
|
|
|
);
|
2015-02-07 08:23:44 +01:00
|
|
|
|
|
|
|
$this->app->bind(
|
|
|
|
'steam', function () {
|
|
|
|
return new \FireflyIII\Support\Steam;
|
|
|
|
}
|
|
|
|
);
|
2015-02-06 20:43:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|