Ds\Deque::copy

Ds\Deque::copy

(PECL ds >= 1.0.0)

Ds\Deque::copyReturns a shallow copy of the deque.

Description

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

Returns a shallow copy of the deque.

Parameters

This function has no parameters.

Return Values

A shallow copy of the deque.