for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Thermal\Profile;
use Thermal\Printer;
class ControliD extends Epson
{
public function qrcode($data, $size)
$this->drawQrcode($data, $size);
}
protected function setStyle($style, $enable)
if ($enable) {
// enable styles
if (Printer::STYLE_BOLD == $style) {
$this->getConnection()->write("\eE\x01");
return $this;
} else {
// disable styles
$this->getConnection()->write("\eE\x00");
return parent::setStyle($style, $enable);