添加网站文件
This commit is contained in:
95
vendor/endroid/qr-code/src/QrCodeInterface.php
vendored
Normal file
95
vendor/endroid/qr-code/src/QrCodeInterface.php
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
<?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;
|
||||
|
||||
interface QrCodeInterface
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getText();
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getSize();
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMargin();
|
||||
|
||||
/**
|
||||
* @return int[]
|
||||
*/
|
||||
public function getForegroundColor();
|
||||
|
||||
/**
|
||||
* @return int[]
|
||||
*/
|
||||
public function getBackgroundColor();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEncoding();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorCorrectionLevel();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLogoPath();
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLogoWidth();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabel();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabelFontPath();
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLabelFontSize();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabelAlignment();
|
||||
|
||||
/**
|
||||
* @return int[]
|
||||
*/
|
||||
public function getLabelMargin();
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getValidateResult();
|
||||
|
||||
/**
|
||||
* @param WriterRegistryInterface $writerRegistry
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function setWriterRegistry(WriterRegistryInterface $writerRegistry);
|
||||
}
|
||||
Reference in New Issue
Block a user