* @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){ $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; } }