diff --git a/src/JasonTable.php b/src/JasonTable.php index f84d141..0b5580f 100644 --- a/src/JasonTable.php +++ b/src/JasonTable.php @@ -15,6 +15,11 @@ class JasonTable echo $this->html; } + public function fetch(): string + { + return $this->html; + } + public function setBeforePrintCell(\Closure $closure): void { $this->beforePrintCell = $closure;