Pneuma Framework

Output extends ConsoleOutput
in package
implements OutputInterface

Simple Output Implementation.

Table of Contents

Interfaces

OutputInterface
Describes Output interface.

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.
style()  : static
Write output with 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
static

error()

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
static

info()

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
static

question()

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

Return values
static

style()

Write output with style.

private style(string $name, string $message, bool $newLine) : static
Parameters
$name : string

Style name

$message : string

The message

$newLine : bool

Whether to add a newline

Return values
static

        
On this page

Search results