Skip to content

Commit

Permalink
Add event dispatching to manifest compilation
Browse files Browse the repository at this point in the history
This update introduces event dispatching in the manifest compilation process. PreManifestCompileEvent and PostManifestCompileEvent have been added, which are dispatched before and after the compilation respectively. The modification enhances the flexibility and extensibility of the manifest compilation process by allowing custom actions just before or after compilation.
  • Loading branch information
Spomky committed Apr 22, 2024
1 parent 3c557ae commit 70eefaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Event/NullEventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

final readonly class NullEventDispatcher implements EventDispatcherInterface
{
public function dispatch(object $event): void
public function dispatch(object $event): object
{
// Do nothing
return $event;
}
}

0 comments on commit 70eefaa

Please sign in to comment.