Documentation

Bracket
in package

FinalYes

Table of Contents

Properties

$active  : bool
$hasNext  : bool
$image  : bool
$node  : Node
$position  : int
$previous  : Bracket|null

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

$hasNext

private bool $hasNext = false

Methods

__construct()

public __construct(Node $node, Bracket|null $previous, int $position, bool $image) : mixed
Parameters
$node : Node
$previous : Bracket|null
$position : int
$image : bool

getPosition()

public getPosition() : int
Return values
int

hasNext()

public hasNext() : bool
Return values
bool

isActive()

Only valid in the context of non-images (links)

public isActive() : bool
Return values
bool

isImage()

public isImage() : bool
Return values
bool

        
On this page

Search results