Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content-20241001222009
/
plugins
/
mailpoet
/
vendor-prefixed
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Query
:
Printer.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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"; } } }