EricMakesStuff\ServerMonitor\ServerMonitorServiceProvider::register PHP Method

register() public method

Register the application services.
public register ( )
    public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/server-monitor.php', 'server-monitor');
        $this->app['events']->subscribe(\EricMakesStuff\ServerMonitor\Notifications\EventHandler::class);
        $this->app->bind('command.monitor:run', RunCommand::class);
        $this->commands(['command.monitor:run']);
        $this->app->singleton(ConsoleOutput::class);
    }
ServerMonitorServiceProvider