first commit -> move some files from one-api

This commit is contained in:
2026-05-06 13:37:10 +07:00
parent a3144382c5
commit 55c6ed9779
7940 changed files with 628870 additions and 0 deletions

View 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);
}