Neos\Flow\Error\AbstractExceptionHandler::renderExceptionDetailCli PHP Метод

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

Renders the given $value word-wrapped and prefixed with $label
protected renderExceptionDetailCli ( string $label, string $value ) : string
$label string
$value string
Результат string
    protected function renderExceptionDetailCli($label, $value)
    {
        $result = '  <b>' . $label . ': </b>';
        $result .= wordwrap($value, 75, PHP_EOL . str_repeat(' ', strlen($label) + 4), true);
        $result .= PHP_EOL;
        return $result;
    }