mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 19:18:11 +01:00
46 lines
881 B
PHP
46 lines
881 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Alt Three Services Limited
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CachetHQ\Cachet\Foundation\Providers;
|
|
|
|
use CachetHQ\Cachet\Subscribers\CommandSubscriber;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
/**
|
|
* This is the console service provider.
|
|
*
|
|
* @author James Brooks <james@alt-three.com>
|
|
*/
|
|
class ConsoleServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Boot the service provider.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
$subscriber = $this->app->make(CommandSubscriber::class);
|
|
|
|
$this->app->events->subscribe($subscriber);
|
|
}
|
|
|
|
/**
|
|
* Register the service provider.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
}
|