Deploying to gh-pages from @ chillerlan/php-qrcode@c79042f271 🚀

This commit is contained in:
codemasher
2021-11-18 13:01:26 +00:00
parent 20c4413c45
commit dd59e5fad8
312 changed files with 19735 additions and 43462 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
/**
* Class MyCustomOutput
*
* @created 24.12.2017
* @author Smiley <smiley@chillerlan.net>
* @copyright 2017 Smiley
* @license MIT
*/
namespace chillerlan\QRCodeExamples;
use chillerlan\QRCode\Output\QROutputAbstract;
class MyCustomOutput extends QROutputAbstract{
protected function setModuleValues():void{
// TODO: Implement setModuleValues() method.
}
public function dump(string $file = null):string{
$output = '';
for($row = 0; $row < $this->moduleCount; $row++){
for($col = 0; $col < $this->moduleCount; $col++){
$output .= (int)$this->matrix->check($col, $row);
}
$output .= \PHP_EOL;
}
return $output;
}
}