protected function registerRevisionRepository()
    {
        $this->app->singleton('revisionrepository', function ($app) {
            $model = $app['config']['credentials.revision'];
            $revision = new $model();

            $validator = $app['validator'];

            return new RevisionRepository($revision, $validator);
        });

        $this->app->alias('revisionrepository', RevisionRepository::class);
    }