WireArray::prepend()
Prepend an item to the beginning of the WireArray.
Example
// Add item to beginning
$items->prepend($item);
Usage
$wireArray->prepend($item);
Arguments
Exceptions
Method can throw exceptions on error:
WireException
See Also
WireArray methods and properties
API reference based on ProcessWire core version 3.0.251