mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
20 lines
490 B
PHP
20 lines
490 B
PHP
<?php
|
|
|
|
use App\Listeners\GenerateSitemap;
|
|
use TightenCo\Jigsaw\Jigsaw;
|
|
|
|
/* @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(GenerateSitemap::class);
|