Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Pdf\Build; |
| 15 | |
| 16 | use Pop\Pdf\Document\AbstractDocument; |
| 17 | |
| 18 | /** |
| 19 | * Parser interface |
| 20 | * |
| 21 | * @category Pop |
| 22 | * @package Pop\Pdf |
| 23 | * @author Nick Sagona, III <dev@noladev.com> |
| 24 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 25 | * @license https://www.popphp.org/license New BSD License |
| 26 | * @version 5.2.2 |
| 27 | */ |
| 28 | interface ParserInterface |
| 29 | { |
| 30 | |
| 31 | /** |
| 32 | * Get the file |
| 33 | * |
| 34 | * @return string |
| 35 | */ |
| 36 | public function getFile(): string; |
| 37 | |
| 38 | /** |
| 39 | * Get the data stream |
| 40 | * |
| 41 | * @return string |
| 42 | */ |
| 43 | public function getData(): string; |
| 44 | |
| 45 | /** |
| 46 | * Parse the pdf data |
| 47 | * |
| 48 | * @param mixed $pages |
| 49 | * @return AbstractDocument |
| 50 | */ |
| 51 | public function parse(mixed $pages = null): AbstractDocument; |
| 52 | |
| 53 | } |