diff options
Diffstat (limited to 'bootstrap.php')
| -rw-r--r-- | bootstrap.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap.php b/bootstrap.php new file mode 100644 index 0000000..23de5f1 --- /dev/null +++ b/bootstrap.php @@ -0,0 +1,18 @@ +<?php + +// @var $container \Illuminate\Container\Container +// @var $events \TightenCo\Jigsaw\Events\EventBus + +/* + * You can run custom code at different stages of the build process by + * listening to the 'beforeBuild', 'afterCollections', and 'afterBuild' events. + * + * For example: + * + * $events->beforeBuild(function (Jigsaw $jigsaw) { + * // Your code here + * }); + */ + +$events->afterBuild(App\Listeners\GenerateSitemap::class); +$events->afterBuild(App\Listeners\GenerateIndex::class); |
