Skip to content

QueueGarbageCollection

Interface for a garbage collection.

If the 'queue' service implements this interface, the garbageCollection() method will be called when scheduled.


  • Full name: \Codefy\Framework\Queue\QueueGarbageCollection

Methods

garbageCollection

Cleans queues of garbage.

public garbageCollection(): void