class League / CommonMark / Util / PrioritizedList
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final

PrioritizedList

Implements

Properties

private

$list array

Default: []
private

$optimized Traversable|null

Default: null

Methods

public

add ( $item , int $priority ) : void

Parameters

  • $item mixed
public

getIterator ( ) : Traversable