WireArray::push()

Push an item to the end of the WireArray.

Same as WireArray::add() and WireArray::append(), but here for syntax convenience.

Usage

$wireArray->push($item);

Arguments

NameType(s)Description
$itemWire mixed

Item to push.

Return value

$this

This instance.

See Also


WireArray methods and properties

API reference based on ProcessWire core version 3.0.251