ListItem
    
            
            in package
            
        
    
    
    
FinalYes
Needs to be removed duplicate of ListItemNode
Table of Contents
Properties
Methods
- __construct() : mixed
- getDepth() : int
- getPrefix() : string
- getText() : mixed
- isOrdered() : bool
- setText() : void
- toArray() : array<string|int, mixed>
Properties
$depth read-only
        private
            int
    $depth
    
    
    
    
    
    
$ordered read-only
        private
            bool
    $ordered
    
    
    
    
    
    
$prefix read-only
        private
            string
    $prefix
    
    
    
    
    
    
$text
        private
            mixed
    $text
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(string $prefix, bool $ordered, int $depth, mixed $text) : mixed
    Parameters
- $prefix : string
- $ordered : bool
- $depth : int
- $text : mixed
getDepth()
    public
                    getDepth() : int
    Return values
intgetPrefix()
    public
                    getPrefix() : string
    Return values
stringgetText()
    public
                    getText() : mixed
    isOrdered()
    public
                    isOrdered() : bool
    Return values
boolsetText()
    public
                    setText(mixed $text) : void
    Parameters
- $text : mixed
toArray()
    public
                    toArray() : array<string|int, mixed>