* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Endroid\QrCode\Writer; use Endroid\QrCode\QrCodeInterface; interface WriterInterface { public function writeString(QrCodeInterface $qrCode): string; public function writeDataUri(QrCodeInterface $qrCode): string; public function writeFile(QrCodeInterface $qrCode, string $path): void; public static function getContentType(): string; public static function supportsExtension(string $extension): bool; public static function getSupportedExtensions(): array; public function getName(): string; }