Exception
3 years ago
Factory
3 years ago
Writer
3 years ago
ErrorCorrectionLevel.php
3 years ago
LabelAlignment.php
3 years ago
QrCode.php
3 years ago
QrCodeInterface.php
3 years ago
WriterRegistry.php
3 years ago
WriterRegistryInterface.php
3 years ago
QrCodeInterface.php
44 lines
| 1 | <?php |
| 2 | |
| 3 | declare (strict_types=1); |
| 4 | /* |
| 5 | * (c) Jeroen van den Enden <info@endroid.nl> |
| 6 | * |
| 7 | * This source file is subject to the MIT license that is bundled |
| 8 | * with this source code in the file LICENSE. |
| 9 | */ |
| 10 | namespace WP2FA_Vendor\Endroid\QrCode; |
| 11 | |
| 12 | interface QrCodeInterface |
| 13 | { |
| 14 | public function getText() : string; |
| 15 | public function getSize() : int; |
| 16 | public function getMargin() : int; |
| 17 | /** @return array<int> */ |
| 18 | public function getForegroundColor() : array; |
| 19 | /** @return array<int> */ |
| 20 | public function getBackgroundColor() : array; |
| 21 | public function getEncoding() : string; |
| 22 | public function getRoundBlockSize() : bool; |
| 23 | public function getErrorCorrectionLevel() : ErrorCorrectionLevel; |
| 24 | public function getLogoPath() : ?string; |
| 25 | public function getLogoWidth() : ?int; |
| 26 | public function getLogoHeight() : ?int; |
| 27 | public function getLabel() : ?string; |
| 28 | public function getLabelFontPath() : string; |
| 29 | public function getLabelFontSize() : int; |
| 30 | public function getLabelAlignment() : string; |
| 31 | /** @return array<int> */ |
| 32 | public function getLabelMargin() : array; |
| 33 | public function getValidateResult() : bool; |
| 34 | /** @return array<mixed> */ |
| 35 | public function getWriterOptions() : array; |
| 36 | public function getContentType() : string; |
| 37 | public function setWriterRegistry(WriterRegistryInterface $writerRegistry) : void; |
| 38 | public function writeString() : string; |
| 39 | public function writeDataUri() : string; |
| 40 | public function writeFile(string $path) : void; |
| 41 | /** @return array<mixed> */ |
| 42 | public function getData() : array; |
| 43 | } |
| 44 |