| Total Complexity | 3 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait Accessors |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string|null AWS S3 file path |
||
| 9 | */ |
||
| 10 | private $path; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string|null AWS S3 file URL |
||
| 14 | */ |
||
| 15 | private $url; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string|null |
||
| 19 | */ |
||
| 20 | private $output; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Retrieve the PDF's output. |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getOutput(): string |
||
| 28 | { |
||
| 29 | return $this->output; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Retrieve the PDF's AWS S3 path. |
||
| 34 | * |
||
| 35 | * @return string|null |
||
| 36 | */ |
||
| 37 | public function getPath(): ?string |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Retrieve the PDF's AWS S3 url. |
||
| 44 | * |
||
| 45 | * @return string|null |
||
| 46 | */ |
||
| 47 | public function getUrl(): ?string |
||
| 52 |