1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * This file is part of the phpQr package
- *
- * See @see QRCode class for description of package and license.
- */
- /**
- * Import necessary dependencies
- */
- require_once 'QRBitBuffer.php';
- /**
- * This interface describes a QRByte implementation
- *
- * @author Maik Greubel <[email protected]>
- * @package phpQr
- */
- interface QRByte
- {
- /**
- * Retrieve the mode
- *
- * @return int The mode
- */
- public function getMode();
-
- /**
- * Retrieve the length
- *
- * @return int The length
- */
- public function getLength();
-
- /**
- * Write data to byte
- *
- * @param QRBitBuffer $buffer The data to write into byte
- */
- public function write(QRBitBuffer $buffer);
- }
|