mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-28 06:35:27 +00:00
:octocat:
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @filesource QRDataInterface.php
|
||||
* @created 01.12.2015
|
||||
* @author Smiley <smiley@chillerlan.net>
|
||||
* @copyright 2015 Smiley
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
namespace codemasher\QRCode\Data;
|
||||
|
||||
use codemasher\QRCode\BitBuffer;
|
||||
|
||||
/**
|
||||
* Interface QRDataInterface
|
||||
*/
|
||||
interface QRDataInterface{
|
||||
|
||||
/**
|
||||
* @param \codemasher\QRCode\BitBuffer $buffer
|
||||
*/
|
||||
public function write(BitBuffer &$buffer);
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLength();
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getData();
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getMode();
|
||||
|
||||
/**
|
||||
* @param $type
|
||||
*
|
||||
* @return int
|
||||
* @throws \codemasher\QRCode\QRCodeException
|
||||
*/
|
||||
public function getLengthInBits($type);
|
||||
}
|
||||
Reference in New Issue
Block a user