Skip to content

Commit

Permalink
Merge pull request #5 from djereg/dev
Browse files Browse the repository at this point in the history
feat: discover event by default
  • Loading branch information
djereg authored May 3, 2024
2 parents cd68a3d + 31f8233 commit 217a839
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
},
"autoload": {
"psr-4": {
"Djereg\\Laravel\\RabbitMQ\\": "src",
"Djereg\\Laravel\\RabbitMQ\\Core\\": "src/core",
"Djereg\\Laravel\\RabbitMQ\\Event\\": "src/event",
"Djereg\\Laravel\\RabbitMQ\\RPC\\Client\\": "src/client",
"Djereg\\Laravel\\RabbitMQ\\RPC\\Server\\": "src/server"
"Djereg\\Laravel\\RabbitMQ\\": "src"
}
},
"autoload-dev": {
Expand Down
5 changes: 5 additions & 0 deletions src/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ public function register(): void
}
});
}

public function shouldDiscoverEvents(): bool
{
return true;
}
}

0 comments on commit 217a839

Please sign in to comment.