Skip to content

Commit

Permalink
autoload helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdertCO committed Sep 10, 2020
1 parent f37a625 commit 4d74b86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LaravelStubsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ public function boot()
public function register()
{
$this->mergeConfigFrom(__DIR__ . '/Config/laravel-stubs.php', 'laravel-stubs');

foreach (glob(app_path() . '/' . \config('laravel-stubs.make.helper.folder') . '/*.php') as $file) {
require_once($file);
}
}
}

0 comments on commit 4d74b86

Please sign in to comment.