Skip to content

Commit 825c5e1

Browse files
add flag to getText function
1 parent 071bba4 commit 825c5e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Pdf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ public function json() : string
4848
{
4949
return json_encode($this->array());
5050
}
51-
public static function getText(string $pdf, string $binPath = null) : string
51+
public static function getText(string $pdf, string $binPath = null, $flag = NULL) : string
5252
{
5353
return (new static($binPath))
5454
->setPdf($pdf)
55-
->text();
55+
->text($flag);
5656
}
5757
}

0 commit comments

Comments
 (0)