lithium\console\command\Help::_pad()
Add left padding for prettier display.
Parameters
-
string
$message
the text to render.
-
integer|string
$level
the level of indentation.
Returns
stringSource
protected function _pad($message, $level = 1) {
$padding = str_repeat(' ', $level * 4);
return $padding . str_replace("\n", "\n{$padding}", $message);
}