Bristol SU Support Package
src
Revision
RevisionServiceProvider.php
Go to the documentation of this file.
1
<?php
2
3
namespace
BristolSU\Support\Revision
;
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
}
BristolSU\Support\Revision\RevisionServiceProvider
Definition:
RevisionServiceProvider.php:10
BristolSU\Support\Revision\RevisionServiceProvider\boot
boot()
Definition:
RevisionServiceProvider.php:13
BristolSU\Support\Revision
Definition:
HasRevisions.php:4
Generated by
1.8.13