/**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     parent::register();
     $this->app->make('config')->set('filesystems.disks.media', ['driver' => 'media']);
     \Storage::extend('media', function (Application $app, $config) {
         return new Media();
     });
 }
 /**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     parent::register();
 }