RelativeNormalizerStrategy
in package
implements
NormalizerStrategyInterface
Interfaces, Classes and Traits
Table of Contents
- $listItemStack : array<int, ListItem>
- $toc : TableOfContents
- __construct() : mixed
- addItem() : void
Properties
$listItemStack
private
array<int, ListItem>
$listItemStack
= []
$toc
private
TableOfContents
$toc
Methods
__construct()
public
__construct(TableOfContents $toc) : mixed
Parameters
- $toc : TableOfContents
Return values
mixed —addItem()
public
addItem(int $level, ListItem $listItemToAdd) : void
Parameters
- $level : int
- $listItemToAdd : ListItem