PluginProbe ʕ •ᴥ•ʔ
WP 2FA – Two-factor authentication for WordPress / 4.0.0
WP 2FA – Two-factor authentication for WordPress v4.0.0
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 / includes / classes / bacon / bacon-qr-code / src / Renderer / Eye / CompositeEye.php
wp-2fa / includes / classes / bacon / bacon-qr-code / src / Renderer / Eye Last commit date
CompositeEye.php 1 week ago EyeInterface.php 1 week ago ModuleEye.php 1 week ago SimpleCircleEye.php 1 week ago SquareEye.php 1 week ago index.php 1 week ago
CompositeEye.php
34 lines
1 <?php
2
3 declare (strict_types=1);
4 namespace WP2FA_Vendor\BaconQrCode\Renderer\Eye;
5
6 use WP2FA_Vendor\BaconQrCode\Renderer\Path\Path;
7 /**
8 * Combines the style of two different eyes.
9 */
10 final class CompositeEye implements EyeInterface
11 {
12 /**
13 * @var EyeInterface
14 */
15 private $externalEye;
16 /**
17 * @var EyeInterface
18 */
19 private $internalEye;
20 public function __construct(EyeInterface $externalEye, EyeInterface $internalEye)
21 {
22 $this->externalEye = $externalEye;
23 $this->internalEye = $internalEye;
24 }
25 public function getExternalPath() : Path
26 {
27 return $this->externalEye->getExternalPath();
28 }
29 public function getInternalPath() : Path
30 {
31 return $this->internalEye->getInternalPath();
32 }
33 }
34