NodeText extends NodeBase
Class NodeText Plain text node
Table of Contents
Methods
- __construct() : mixed
- Sets text contents into $content.
- process() : string
- Returns text contents.
Methods
__construct()
Sets text contents into $content.
public
__construct([string $content = "" ]) : mixed
Parameters
- $content : string = ""
-
A text to be saved.
process()
Returns text contents.
public
process(Base $entity) : string
Parameters
- $entity : Base
-
Sets the context of processing.