diff --git a/src/Line.php b/src/Line.php new file mode 100644 index 0000000..7a9daa3 --- /dev/null +++ b/src/Line.php @@ -0,0 +1,58 @@ +setData( + $data + ); + + $this->setEscaped( + $escaped + ); + + $this->setNumber( + $number + ); + } + + public function getData(): string + { + return $this->_data; + } + + public function setData(string $data): void + { + $this->_data = $data; + } + + public function getEscaped(): bool + { + return $this->_escaped; + } + + public function setEscaped(bool $escaped): void + { + $this->_escaped = $escaped; + } + + public function getNumber(): ?int + { + return $this->_number; + } + + public function setNumber(?int $number): void + { + $this->_number = $number; + } +}