PriorityQueue
PHP Manual

Ds\PriorityQueue::jsonSerialize

(PECL ds >= 1.0.0)

Ds\PriorityQueue::jsonSerializeReturns a representation that can be converted to JSON.

See JsonSerializable::jsonSerialize()

Bilginize:

You should never need to call this directly.


PriorityQueue
PHP Manual