Ds\Queue::copy

Ds\Queue::copy

(PECL ds >= 1.0.0)

Ds\Queue::copyReturns a shallow copy of the queue.

Description

public Ds\Queue Ds\Queue::copy ( void )

Returns a shallow copy of the queue.

Parameters

This function has no parameters.

Return Values

Returns a shallow copy of the queue.