Previous Page
_err()

Solar_Cli_MakeModel
_errln()

Next Page
_exception()

_errln()

protected void _errln ( string $text default NULL, mixed $num default 1, array $replace default NULL )

Prints text to STDERR and appends a newline.

Inherited from Solar_Controller_Command.

Parameters

  • (string) $text: The text to print to STDERR, usually a translation key.
  • (mixed) $num: Helps determine whether to get a singular or plural translation.
  • (array) $replace: An array of replacement values for the string.

Returns

  • (void)

Description

Prints text to STDERR and appends a newline.

If the text is a locale key, that text will be used instead.

Automatically replaces style-format codes for VT100 shell output.