| 1 | <?php |
||
| 9 | class TranslatableServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Indicates if loading of the provider is deferred. |
||
| 13 | * |
||
| 14 | * @var bool |
||
| 15 | */ |
||
| 16 | protected $defer = false; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Bootstrap services. |
||
| 20 | * |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | 9 | public function boot(Filesystem $filesystem) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Register the service provider. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | 9 | public function register() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Returns existing migration file if found, else uses the current timestamp. |
||
| 49 | * |
||
| 50 | * @param Filesystem $filesystem |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 9 | protected function getMigrationFileName(Filesystem $filesystem): string |
|
| 64 | } |
||
| 65 |