OutputInterface
extends
OutputInterface
in
Describes Output interface.
Table of Contents
Methods
- comment() : static
- Write output with comment style.
- error() : static
- Write output with error style.
- info() : static
- Write output with info style.
- question() : static
- Write output with question style.
Methods
comment()
Write output with comment style.
public
comment(string $message[, bool $newLine = false ]) : static
Parameters
- $message : string
-
The message
- $newLine : bool = false
-
Whether to add a newline
Return values
staticerror()
Write output with error style.
public
error(string $message[, bool $newLine = false ]) : static
Parameters
- $message : string
-
The message
- $newLine : bool = false
-
Whether to add a newline
Return values
staticinfo()
Write output with info style.
public
info(string $message[, bool $newLine = false ]) : static
Parameters
- $message : string
-
The message
- $newLine : bool = false
-
Whether to add a newline
Return values
staticquestion()
Write output with question style.
public
question(string $message[, bool $newLine = false ]) : static
Parameters
- $message : string
-
The message
- $newLine : bool = false
-
Whether to add a newline