Skip to content

Commit

Permalink
Merge pull request #522 from michalsn/register-namespace-cli
Browse files Browse the repository at this point in the history
fix: register namespace on CLI
  • Loading branch information
dgvirtual authored Jan 22, 2025
2 parents 2ae3e7b + 3084a0d commit 90bb64d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Config/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
Events::on('pre_system', static function (): void {
Namespaces::register();
});

Events::on('pre_command', static function (): void {
Namespaces::register();
});

0 comments on commit 90bb64d

Please sign in to comment.