Repeat
in package
implements
NodeContainer
Repeat block.
Interfaces, Classes, Traits and Enums
- NodeContainer
- Lyrical node containing other nodes.
Table of Contents
- $count : int
- How many times the contents should be repeated.
- $nodes : array<string|int, Node>
- Repeated content.
- __construct() : mixed
- accept() : void
- getCount() : int
- getNodes() : array<string|int, Node>
Properties
$count
How many times the contents should be repeated.
private
int
$count
$nodes
Repeated content.
private
array<string|int, Node>
$nodes
Methods
__construct()
public
__construct(array<string|int, Node> $nodes, int $count) : mixed
Parameters
- $nodes : array<string|int, Node>
-
repeated content
- $count : int
-
repeat count
Return values
mixed —accept()
public
accept(VisitorInterface $visitor) : void
Parameters
- $visitor : VisitorInterface
Tags
Return values
void —getCount()
public
getCount() : int
Return values
int —repeat count
getNodes()
public
getNodes() : array<string|int, Node>
Tags
Return values
array<string|int, Node> —contained nodes