first commit -> move some files from one-api
This commit is contained in:
34
vendor/endroid/qrcode/src/WriterRegistryInterface.php
vendored
Normal file
34
vendor/endroid/qrcode/src/WriterRegistryInterface.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* (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 $writer
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function addWriter(WriterInterface $writer);
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
*
|
||||
* @return WriterInterface
|
||||
*/
|
||||
public function getWriter($name);
|
||||
|
||||
/**
|
||||
* @return WriterInterface[]
|
||||
*/
|
||||
public function getWriters();
|
||||
}
|
||||
Reference in New Issue
Block a user