EffectSourceRegistry
Every registered EffectSource, for RecorderMiddleware to activate/deactivate around one request.
A plain list, not a driver-alias map like CassetteStoreRegistry: more than one process-scoped-observer-style driver could plausibly be active in the same app (unlikely, but nothing here assumes exactly one).
Synopsis
Section titled “Synopsis”final class EffectSourceRegistry
| Source | Recording/EffectSourceRegistry.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
all(): list<EffectSource> | |
register(EffectSource $source): void | |
reset(): void | Test isolation. |
public static function all(): list<EffectSource>
Returns list``<EffectSource>
register()
Section titled “register()”public static function register(EffectSource $source): void
| Parameter | Type | Description |
|---|---|---|
$source | EffectSource |
reset()
Section titled “reset()”public static function reset(): void
Test isolation.