Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Core\SourceString Class Reference

Represents the simplest possible Source: just a string, of unknown origin. More...

+ Inheritance diagram for Wikimedia\Parsoid\Core\SourceString:
+ Collaboration diagram for Wikimedia\Parsoid\Core\SourceString:

Public Member Functions

 __construct (public string $srcText)
 
 getSrcText ()
 

Detailed Description

Represents the simplest possible Source: just a string, of unknown origin.

Generally speaking we should use a more informative Source.

Member Function Documentation

◆ getSrcText()

Wikimedia\Parsoid\Core\SourceString::getSrcText ( )

The documentation for this class was generated from the following file: