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-2026 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Pdf\Build\PdfObject; |
| 15 | |
| 16 | /** |
| 17 | * Pdf object interface |
| 18 | * |
| 19 | * @category Pop |
| 20 | * @package Pop\Pdf |
| 21 | * @author Nick Sagona, III <dev@noladev.com> |
| 22 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 23 | * @license https://www.popphp.org/license New BSD License |
| 24 | * @version 5.2.7 |
| 25 | */ |
| 26 | interface ObjectInterface |
| 27 | { |
| 28 | |
| 29 | /** |
| 30 | * Set the object index |
| 31 | * |
| 32 | * @param int $i |
| 33 | * @return ObjectInterface |
| 34 | */ |
| 35 | public function setIndex(int $i): ObjectInterface; |
| 36 | |
| 37 | /** |
| 38 | * Set the object data |
| 39 | * |
| 40 | * @param string $data |
| 41 | * @return ObjectInterface |
| 42 | */ |
| 43 | public function setData(string $data): ObjectInterface; |
| 44 | |
| 45 | /** |
| 46 | * Get the object index |
| 47 | * |
| 48 | * @return ?int |
| 49 | */ |
| 50 | public function getIndex(): ?int; |
| 51 | |
| 52 | /** |
| 53 | * Get the object data |
| 54 | * |
| 55 | * @return ?string |
| 56 | */ |
| 57 | public function getData(): ?string; |
| 58 | |
| 59 | /** |
| 60 | * Method to print the object |
| 61 | * |
| 62 | * @return string |
| 63 | */ |
| 64 | public function __toString(): string; |
| 65 | |
| 66 | } |