stdout() public method
Prints a string to STDOUT
You may optionally format the string with ANSI codes by passing additional parameters using the constants defined in yii\helpers\Console.
Example:
$this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
public integer|boolean stdout ( $string ) | ||
---|---|---|
$string | string |
The string to print |
return | integer|boolean |
Number of bytes printed or false on error |
Please login to continue.