/**
  * Register the configuration publisher class and command.
  *
  * @return void
  */
 protected function registerConfigPublisher()
 {
     $this->registerConfigPublishCommand();
     $this->app->bindShared('config.publisher', function ($app) {
         $path = $app['path'] . '/config';
         // Once we have created the configuration publisher, we will set the default
         // package path on the object so that it knows where to find the packages
         // that are installed for the application and can move them to the app.
         $publisher = new ConfigPublisher($app['files'], $path);
         $publisher->setPackagePath($app['path.base'] . '/vendor');
         return $publisher;
     });
 }