Delimiter
in package
implements
DelimiterInterface
Interfaces, Classes and Traits
Table of Contents
- $active : bool
- $canClose : bool
- $canOpen : bool
- $char : string
- $index : int|null
- $inlineNode : AbstractStringContainer
- $length : int
- $next : DelimiterInterface|null
- $originalLength : int
- $previous : DelimiterInterface|null
- __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
- setCanClose() : void
- setLength() : void
- setNext() : void
- setPrevious() : mixed|void
Properties
$active
private
bool
$active
$canClose
private
bool
$canClose
$canOpen
private
bool
$canOpen
$char
private
string
$char
$index
private
int|null
$index
$inlineNode
private
AbstractStringContainer
$inlineNode
$length
private
int
$length
$next
private
DelimiterInterface|null
$next
$originalLength
private
int
$originalLength
$previous
private
DelimiterInterface|null
$previous
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
Return values
mixed —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 —getInlineNode()
public
getInlineNode() : AbstractStringContainer
Return values
AbstractStringContainer —getLength()
public
getLength() : int
Return values
int —getNext()
public
getNext() : DelimiterInterface|null
Return values
DelimiterInterface|null —getOriginalLength()
public
getOriginalLength() : int
Return values
int —getPrevious()
public
getPrevious() : DelimiterInterface|null
Return values
DelimiterInterface|null —isActive()
public
isActive() : bool
Return values
bool —setActive()
public
setActive(bool $active) : void
Parameters
- $active : bool
Return values
void —setCanClose()
public
setCanClose(bool $canClose) : void
Parameters
- $canClose : bool
Return values
void —setLength()
public
setLength(int $length) : void
Parameters
- $length : int
Return values
void —setNext()
public
setNext(DelimiterInterface|null $next) : void
Parameters
- $next : DelimiterInterface|null
Return values
void —setPrevious()
public
setPrevious(DelimiterInterface|null $previous) : mixed|void
Parameters
- $previous : DelimiterInterface|null