OwenIt\Auditing\Providers\AuditingServiceProvider::register PHP Method

register() public method

Register the service provider.
public register ( ) : void
return void
    public function register()
    {
        $this->commands([AuditingTableCommand::class, AuditorMakeCommand::class, InstallCommand::class]);
        $this->app->singleton(AuditorManager::class, function ($app) {
            return new AuditorManager($app);
        });
        $this->app->alias(AuditorManager::class, Dispatcher::class);
    }