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
Name | Type(s) | Description |
---|---|---|
item | Wire, mixed | Item to push. |
Return value
$this
This instance.
See Also
WireArray methods and properties
API reference based on ProcessWire core version 3.0.236