EmitterAwareTrait
Table of Contents
Properties
- $emitter : EmitterInterface|null
- The emitter instance.
Methods
- getEmitter() : EmitterInterface
- Get the Emitter.
- setEmitter() : $this
- Set the Emitter.
Properties
$emitter
The emitter instance.
protected
EmitterInterface|null
$emitter
Methods
getEmitter()
Get the Emitter.
public
getEmitter() : EmitterInterface
Return values
EmitterInterfacesetEmitter()
Set the Emitter.
public
setEmitter([EmitterInterface|null $emitter = null ]) : $this
Parameters
- $emitter : EmitterInterface|null = null