Delimiter
in package
implements
DelimiterInterface
FinalYes
Table of Contents
Interfaces
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
$canClose
private
bool
$canClose
Tags
$canOpen
private
bool
$canOpen
Tags
$char
private
string
$char
Tags
$index
private
int|null
$index
= null
Tags
$inlineNode
private
AbstractStringContainer
$inlineNode
Tags
$length
private
int
$length
Tags
$next
private
DelimiterInterface|null
$next
= null
Tags
$originalLength
private
int
$originalLength
Tags
$previous
private
DelimiterInterface|null
$previous
= null
Tags
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
boolcanOpen()
public
canOpen() : bool
Return values
boolgetChar()
public
getChar() : string
Return values
stringgetIndex()
public
getIndex() : int|null
Return values
int|nullgetInlineNode()
public
getInlineNode() : AbstractStringContainer
Return values
AbstractStringContainergetLength()
public
getLength() : int
Return values
intgetNext()
public
getNext() : DelimiterInterface|null
Return values
DelimiterInterface|nullgetOriginalLength()
public
getOriginalLength() : int
Return values
intgetPrevious()
public
getPrevious() : DelimiterInterface|null
Return values
DelimiterInterface|nullisActive()
public
isActive() : bool
Return values
boolsetActive()
public
setActive(bool $active) : void
Parameters
- $active : bool
setLength()
public
setLength(int $length) : void
Parameters
- $length : int
setNext()
public
setNext(DelimiterInterface|null $next) : void
Parameters
- $next : DelimiterInterface|null
setPrevious()
public
setPrevious(DelimiterInterface|null $previous) : void
Parameters
- $previous : DelimiterInterface|null