Previous Page
_addTestMethods()

Solar_Cli_MakeTests
_err()

Next Page
_errln()

_err()

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

Prints text to STDERR without a trailing 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 without a trailing newline.

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

Automatically replaces style-format codes for VT100 shell output.