AsIsNormalizerStrategy
in package
implements
NormalizerStrategyInterface
FinalYes
Table of Contents
Interfaces
Properties
- $lastListItem : ListItem|null
- $parentLevel : int
- $parentListBlock : ListBlock
Methods
- __construct() : mixed
- addItem() : void
Properties
$lastListItem
private
ListItem|null
$lastListItem
= null
Tags
$parentLevel
private
int
$parentLevel
= 1
Tags
$parentListBlock
private
ListBlock
$parentListBlock
Tags
Methods
__construct()
public
__construct(TableOfContents $toc) : mixed
Parameters
- $toc : TableOfContents
addItem()
public
addItem(int $level, ListItem $listItemToAdd) : void
Parameters
- $level : int
- $listItemToAdd : ListItem