Viewing File: /home/rtsgrob/ww3/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/src/Query/Printer.php

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Query;
if (!defined('ABSPATH')) exit;
use function str_repeat;
class Printer
{
 protected $_indent = 0;
 protected $_silent;
 public function __construct($silent = \false)
 {
 $this->_silent = $silent;
 }
 public function startProduction($name)
 {
 $this->println('(' . $name);
 $this->_indent++;
 }
 public function endProduction()
 {
 $this->_indent--;
 $this->println(')');
 }
 public function println($str)
 {
 if (!$this->_silent) {
 echo str_repeat(' ', $this->_indent), $str, "\n";
 }
 }
}
Back to Directory File Manager