Constructor.
Parameters
$startintrequired- Byte offset into document where replacement span begins.
$lengthintrequired- Byte length of span in document being replaced.
$textstringrequired- Span of text to insert in document to replace existing content from start to end.
Source
public function __construct( int $start, int $length, string $text ) {
$this->start = $start;
$this->length = $length;
$this->text = $text;
}
Changelog
| Version | Description |
|---|---|
| 6.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.