Bristol SU Support Package
RevisionServiceProvider.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Venturecraft\Revisionable\RevisionableServiceProvider as BaseServiceProvider;
6 
10 class RevisionServiceProvider extends BaseServiceProvider
11 {
12 
13  public function boot()
14  {
15  $this->publishes([
16  __DIR__ . '/../../config/revisionable.php' => config_path('revisionable.php'),
17  ], 'config');
18 
19  $this->mergeConfigFrom(__DIR__ . '/../../config/revisionable.php', 'revisionable');
20 
21  $this->publishes([
22  __DIR__ . '/../../migrations/' => database_path('migrations'),
23  ], 'migrations');
24 
25  $this->loadMigrationsFrom(__DIR__ . '/../../migrations/');
26 
27 
28  }
29 
30 }