Skip to content

Commit 0735548

Browse files
committed
✨ bootstrap faker packages file
1 parent 33c649d commit 0735548

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/FakerLaravelServiceProvider.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,20 @@
33

44
use Illuminate\Contracts\Foundation\Application;
55
use Illuminate\Support\Facades\Config;
6+
use Xefi\Faker\Container\Container;
67

78
class FakerLaravelServiceProvider extends \Illuminate\Support\ServiceProvider
89
{
10+
/**
11+
* Bootstrap any package services.
12+
*
13+
* @return void
14+
*/
15+
public function boot()
16+
{
17+
Container::packageManifestPath('./bootstrap/cache/faker-packages.php');
18+
}
19+
920
/**
1021
* Register the service provider.
1122
*

0 commit comments

Comments
 (0)