(Available since version 1.0)
Heap::__construct — Constructs a new heap
$array
] )This constructs a new heap. If no argument is supplied the heap will be empty.
array
An array of value to initialise the heap with.
No value is returned.
Throws SEIDS::Heaps::ConstructorException when
array
is not an array.