Documentation

Delimiter
in package
implements DelimiterInterface

FinalYes

Table of Contents

Interfaces

DelimiterInterface

Properties

$active  : bool
$canClose  : bool
$canOpen  : bool
$char  : string
$index  : int|null
$inlineNode  : AbstractStringContainer
$length  : int
$next  : DelimiterInterface|null
$originalLength  : int
$previous  : DelimiterInterface|null

Methods

__construct()  : mixed
canClose()  : bool
canOpen()  : bool
getChar()  : string
getIndex()  : int|null
getInlineNode()  : AbstractStringContainer
getLength()  : int
getNext()  : DelimiterInterface|null
getOriginalLength()  : int
getPrevious()  : DelimiterInterface|null
isActive()  : bool
setActive()  : void
setLength()  : void
setNext()  : void
setPrevious()  : void

Properties

$active

private bool $active
Tags
psalm-readonly-allow-private-mutation

$canClose

private bool $canClose
Tags
psalm-readonly

$canOpen

private bool $canOpen
Tags
psalm-readonly

$char

private string $char
Tags
psalm-readonly

$index

private int|null $index = null
Tags
psalm-readonly

$length

private int $length
Tags
psalm-readonly-allow-private-mutation

$originalLength

private int $originalLength
Tags
psalm-readonly

Methods

__construct()

public __construct(string $char, int $numDelims, AbstractStringContainer $node, bool $canOpen, bool $canClose[, int|null $index = null ]) : mixed
Parameters
$char : string
$numDelims : int
$node : AbstractStringContainer
$canOpen : bool
$canClose : bool
$index : int|null = null

canClose()

public canClose() : bool
Return values
bool

canOpen()

public canOpen() : bool
Return values
bool

getChar()

public getChar() : string
Return values
string

getIndex()

public getIndex() : int|null
Return values
int|null

getLength()

public getLength() : int
Return values
int

getOriginalLength()

public getOriginalLength() : int
Return values
int

isActive()

public isActive() : bool
Return values
bool

setActive()

public setActive(bool $active) : void
Parameters
$active : bool

setLength()

public setLength(int $length) : void
Parameters
$length : int

        
On this page

Search results