Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 045bc32

Browse files
committed
Added attaching functionality to base module class
1 parent 1f1e45c commit 045bc32

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/Module/AbstractBaseModule.php‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use OutOfRangeException;
2525
use Psr\Container\ContainerInterface;
2626
use Psr\EventManager\EventManagerInterface;
27+
use RebelCode\Modular\Events\AttachCapableTrait;
2728
use RebelCode\Modular\Events\CreateEventCapableTrait;
2829
use RebelCode\Modular\Events\EventFactoryAwareTrait;
2930
use RebelCode\Modular\Events\EventManagerAwareTrait;
@@ -86,6 +87,13 @@ abstract class AbstractBaseModule implements
8687
*/
8788
use FilterCapableTrait;
8889

90+
/*
91+
* Provides event attaching functionality.
92+
*
93+
* @since [*next-version*]
94+
*/
95+
use AttachCapableTrait;
96+
8997
/*
9098
* Provides event creation functionality.
9199
*

0 commit comments

Comments
 (0)