Ds\Vector::unshift

Ds\Vector::unshift

(PECL ds >= 1.0.0)

Ds\Vector::unshiftAdds values to the front of the vector.

Description

public void Ds\Vector::unshift ([ mixed $values ] )

Adds values to the front of the vector, moving all the current values forward to make room for the new values.

Parameters

values

The values to add to the front of the vector.

Note:

Multiple values will