|
| __construct (array $props, ?string $comment=null) |
|
| errorMsg (string $desc, ?string $text=null) |
| Return a friendly error message related to this item.
|
|
| error (string $desc, ?string $text=null) |
| Throw an error related to this item.
|
|
|
| $type |
|
| $filename |
|
| $lineNumStart |
|
| $lineNumEnd |
|
| $comment |
|
◆ __construct()
Wikimedia\Parsoid\ParserTests\Item::__construct |
( |
array | $props, |
|
|
?string | $comment = null ) |
◆ error()
Wikimedia\Parsoid\ParserTests\Item::error |
( |
string | $desc, |
|
|
?string | $text = null ) |
Throw an error related to this item.
- Parameters
-
string | $desc | The error description. |
?string | $text | Optional additional context. |
- Exceptions
-
Error
- Returns
- never
◆ errorMsg()
Wikimedia\Parsoid\ParserTests\Item::errorMsg |
( |
string | $desc, |
|
|
?string | $text = null ) |
Return a friendly error message related to this item.
- Parameters
-
string | $desc | The error description. |
?string | $text | Optional additional context. |
- Returns
- string The error message string, including the line number and filename of this item.
The documentation for this class was generated from the following file: