blob: 559dfaa303a6df9ae824c129e40adaa6f6710ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
namespace Spline\Cachet\Providers;
use Illuminate\Support\ServiceProvider;
use Spline\Cachet\Console\Commands\SyncSplineAccountsCommand;
class ConsoleServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
*
* @return void
*/
public function boot()
{
$this->commands('Spline\Cachet\Console\Commands\SyncSplineAccountsCommand');
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->singleton('Spline\Cachet\Console\Commands\SyncSplineAccountsCommand', function ($app) {
return new SyncSplineAccountsCommand();
});
}
}
|