AsIsNormalizerStrategy
in package
implements
NormalizerStrategyInterface
Interfaces, Classes and Traits
Table of Contents
- $lastListItem : ListItem|null
- $parentLevel : int
- $parentListBlock : ListBlock
- __construct() : mixed
- addItem() : void
Properties
$lastListItem
private
ListItem|null
$lastListItem
$parentLevel
private
int
$parentLevel
= 1
$parentListBlock
private
ListBlock
$parentListBlock
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