PluginProbe ʕ •ᴥ•ʔ
WP 2FA – Two-factor authentication for WordPress / 2.4.2
WP 2FA – Two-factor authentication for WordPress v2.4.2
4.0.0 1.7.1 2.0.0 2.0.1 2.1.0 2.2.0 2.2.1 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.8.0 2.9.0 2.9.1 2.9.2 2.9.3 3.0.0 3.0.1 3.1.0 3.1.1 3.1.1.2 trunk 1.2.0 1.3.0 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.7.0
wp-2fa / vendor / endroid / qr-code / src / QrCodeInterface.php
wp-2fa / vendor / endroid / qr-code / src Last commit date
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