Bracket
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- getNode() : Node
- getPosition() : int
- getPrevious() : Bracket|null
- hasNext() : bool
- isActive() : bool
- Only valid in the context of non-images (links)
- isImage() : bool
Properties
$active
private
bool
$active
= true
$hasNext
private
bool
$hasNext
= false
$image
private
bool
$image
$node
private
Node
$node
$position
private
int
$position
$previous
private
Bracket|null
$previous
Methods
__construct()
public
__construct(Node $node, Bracket|null $previous, int $position, bool $image) : mixed
Parameters
getNode()
public
getNode() : Node
Return values
NodegetPosition()
public
getPosition() : int
Return values
intgetPrevious()
public
getPrevious() : Bracket|null
Return values
Bracket|nullhasNext()
public
hasNext() : bool
Return values
boolisActive()
Only valid in the context of non-images (links)
public
isActive() : bool
Return values
boolisImage()
public
isImage() : bool