2016-09-16 06:19:40 +02:00
|
|
|
<?php
|
2017-09-14 17:40:02 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* BroadcastServiceProvider.php
|
|
|
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
2016-09-16 06:19:40 +02:00
|
|
|
|
|
|
|
namespace FireflyIII\Providers;
|
|
|
|
|
2017-09-09 22:06:13 +02:00
|
|
|
use Illuminate\Support\Facades\Broadcast;
|
2017-09-14 17:40:02 +02:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2016-09-16 06:19:40 +02:00
|
|
|
|
|
|
|
class BroadcastServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
Broadcast::routes();
|
|
|
|
|
2017-09-09 22:06:13 +02:00
|
|
|
require base_path('routes/channels.php');
|
2016-09-16 06:19:40 +02:00
|
|
|
}
|
|
|
|
}
|