Close.php
11 months ago
Curve.php
11 months ago
EllipticArc.php
11 months ago
Line.php
11 months ago
Move.php
11 months ago
OperationInterface.php
11 months ago
Path.php
11 months 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 |