ProgressBar::setMessage()

setMessage(string $message, string $name = 'message')

Associates a text with a named placeholder.

The text is displayed when the progress bar is rendered but only when the corresponding placeholder is part of the custom format line (by wrapping the name with %).

Parameters

string $message The text to associate with the placeholder
string $name The name of the placeholder
doc_Symfony
2016-10-28 06:27:30
Comments
Leave a Comment

Please login to continue.