Gui\Ipc\Sender::out PHP Метод

out() защищенный Метод

Print debug information
protected out ( String $text ) : void
$text String Text to print
Результат void
    protected function out($text)
    {
        if ($this->application->getVerboseLevel() == 2) {
            $re = explode('}{', $text);
            foreach ($re as $key => $value) {
                if (count($re) > 1 && $key == 0) {
                    Output::out('=> Sent: ' . $value . '}', 'yellow');
                } elseif (count($re) > 1 && $key == count($re) - 1) {
                    Output::out('=> Sent: {' . $value, 'yellow');
                } elseif (count($re) > 1) {
                    Output::out('=> Sent: {' . $value . '}', 'yellow');
                } else {
                    Output::out('=> Sent: ' . $value, 'yellow');
                }
            }
        }
    }