Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function boot() |
||
10 | { |
||
11 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'welcomeNotification'); |
||
12 | |||
13 | $this->publishes([ |
||
14 | __DIR__.'/../resources/views' => resource_path('views/vendor/welcomeNotification'), |
||
15 | ], 'views'); |
||
16 | |||
17 | if (! class_exists('AddWelcomeValidUntilFieldToUsersTable')) { |
||
18 | $this->publishes([ |
||
19 | __DIR__.'/../database/migrations/add_welcome_valid_until_field_to_users_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_add_welcome_valid_until_field_to_users_table.php'), |
||
20 | ], 'migrations'); |
||
21 | } |
||
22 | } |
||
23 | } |
||
24 |