Item::__construct

(Available since version 1.0)

Item::__constructConstructs a new item

Description

public Item::__construct ( mixed $data [, SEIDS::LinkedLists::Singly::Item $next ] )

This constructs a new item for use in the SEIDS::LinkedLists::Singly::LinkedList class.

Parameters

data

The value of the item.

next

The next item in the list.

Return Values

No value is returned.

To Top