This commit is contained in:
denisdulici 2020-05-24 09:42:32 +03:00
parent aef6e40342
commit 197a95ae7d
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as Provider;
use $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\InstallModule;
use $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\FinishInstallation;
class Event extends Provider
{
@ -14,7 +14,7 @@ class Event extends Provider
*/
protected $listen = [
\App\Events\Module\Installed::class => [
InstallModule::class,
FinishInstallation::class,
],
];
}

View File

@ -24,7 +24,7 @@ return [
'enabled' => true,
'path' => base_path('app/Console/Stubs/Modules'),
'files' => [
'listeners/install' => 'Listeners/InstallModule.php',
'listeners/install' => 'Listeners/FinishInstallation.php',
'providers/event' => 'Providers/Event.php',
'routes/admin' => 'Routes/admin.php',
'routes/portal' => 'Routes/portal.php',