Registers a functional event subscriber into the Stone blueprint.
The functional subscriber.
A partial StoneBlueprint with the subscriber metadata.
Registers a factory-based event subscriber into the Stone blueprint.
The factory subscriber.
Must include isFactory: true.
A partial StoneBlueprint with the subscriber metadata.
Registers a class-based event subscriber into the Stone blueprint.
The subscriber class.
Must include isClass: true.
A partial StoneBlueprint with the subscriber metadata.
Registers an event subscriber into the Stone blueprint. Supports functional, factory-based, and class-based subscribers.
Param: module
The subscriber implementation.
Param: options
Optional
isFactoryflag to define subscriber type.Returns
A partial StoneBlueprint with the subscriber metadata.
Example