Skip to content

FlushableTracker ​

Rasuvaeff\Yii3AbTesting\FlushableTracker

Interface · rasuvaeff/yii3-ab-testing · Source

Contract for trackers that buffer events in memory and write them out in batches. Call flush() once at request end (PSR-15 terminate / shutdown). The composite trackers implement it by propagating the flush to every flushable inner tracker, so an application bound to the tracker interfaces can flush without knowing the concrete sink.

Methods ​

flush() ​

php
flush(): void