v1.0 Initial commit of project
This commit is contained in:
29
vendor/endroid/qr-code/src/WriterRegistryInterface.php
vendored
Normal file
29
vendor/endroid/qr-code/src/WriterRegistryInterface.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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;
|
||||
|
||||
use Endroid\QrCode\Writer\WriterInterface;
|
||||
|
||||
interface WriterRegistryInterface
|
||||
{
|
||||
/** @param WriterInterface[] $writers */
|
||||
public function addWriters(iterable $writers): void;
|
||||
|
||||
public function addWriter(WriterInterface $writer): void;
|
||||
|
||||
public function getWriter(string $name): WriterInterface;
|
||||
|
||||
public function getDefaultWriter(): WriterInterface;
|
||||
|
||||
/** @return WriterInterface[] */
|
||||
public function getWriters(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user