ZF-7897: Implement a ResponseDecorator for line indentation

Issue Type: Sub-task Created: 2009-09-19T08:49:20.000+0000 Last Updated: 2009-11-05T00:38:49.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Benjamin Eberlei (beberlei) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Tool

Related issues: Attachments: - patch_ZF7897.diff


Line indentation is currently done "by hand" for example in the console help system.

This could more easily be done with a ResponseDecorator that allows to specify the content option:

<pre class="highlight">
$response->appendContent("foo", array("indentation" => 8));

A patch for this decorator is appended.


Posted by Benjamin Eberlei (beberlei) on 2009-11-05T00:38:32.000+0000

Committed this to incubator in r18550 and r18551 (plus a previous faulty commit of the IndentionTest.php file in r18322)

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.