init commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* (c) Jeroen van den Enden <info@endroid.nl>
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user