WireArray::append()

Append an item to the end of the WireArray

This is a functionally identical alias of the WireArray::add() method here for naming consistency with the WireArray::prepend() method.

Example

// Add item to end 
$items->append($item); 

Usage

$wireArray->append($item);

Arguments

NameType(s)Description
$itemWire WireArray mixed

Item to append.

Return value

$this

This instance.

See Also


WireArray methods and properties

API reference based on ProcessWire core version 3.0.251