InventoryGroup
in package
FinalYes
Table of Contents
Properties
- $anchorNormalizer : AnchorNormalizer
- $links : array<string|int, InventoryLink>
Methods
- __construct() : mixed
- addLink() : void
- getLink() : InventoryLink|null
- hasLink() : bool
Properties
$anchorNormalizer read-only
private
AnchorNormalizer
$anchorNormalizer
$links
private
array<string|int, InventoryLink>
$links
= []
Methods
__construct()
public
__construct(AnchorNormalizer $anchorNormalizer) : mixed
Parameters
- $anchorNormalizer : AnchorNormalizer
addLink()
public
addLink(string $key, InventoryLink $link) : void
Parameters
- $key : string
- $link : InventoryLink
getLink()
public
getLink(CrossReferenceNode $node, RenderContext $renderContext, Messages $messages) : InventoryLink|null
Parameters
- $node : CrossReferenceNode
- $renderContext : RenderContext
- $messages : Messages
Return values
InventoryLink|nullhasLink()
public
hasLink(string $key) : bool
Parameters
- $key : string