Close.php
1 week ago
Curve.php
1 week ago
EllipticArc.php
1 week ago
Line.php
1 week ago
Move.php
1 week ago
OperationInterface.php
1 week ago
Path.php
1 week ago
index.php
1 week ago
Close.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | declare (strict_types=1); |
| 4 | namespace WP2FA_Vendor\BaconQrCode\Renderer\Path; |
| 5 | |
| 6 | final class Close implements OperationInterface |
| 7 | { |
| 8 | /** |
| 9 | * @var self|null |
| 10 | */ |
| 11 | private static $instance; |
| 12 | private function __construct() |
| 13 | { |
| 14 | } |
| 15 | public static function instance() : self |
| 16 | { |
| 17 | return self::$instance ?: (self::$instance = new self()); |
| 18 | } |
| 19 | /** |
| 20 | * @return self |
| 21 | */ |
| 22 | public function translate(float $x, float $y) : OperationInterface |
| 23 | { |
| 24 | return $this; |
| 25 | } |
| 26 | } |
| 27 |