interface StyleInterface implements StyleInterface, OutputInterface, InputAwareInterface, OutputAwareInterface

Interface StyleInterface.

Methods

setInput( InputInterface $input)

No description

InputInterface
getInput()

No description

setOutput( OutputInterface $output)

No description

OutputInterface
getOutput()

No description

setVerbosity($level)

{@inheritdoc}

int
getVerbosity()

No description

bool
isQuiet()

No description

bool
isNormal()

No description

bool
isVerbose()

No description

bool
isVeryVerbose()

No description

bool
isDebug()

No description

setFormatter( OutputFormatterInterface $formatter)

{@inheritdoc}

getFormatter()

{@inheritdoc}

setDecorated($decorated)

{@inheritdoc}

isDecorated()

{@inheritdoc}

block( string|array $messages, string|null $type = null, string|null $style = null, string $prefix = ' ', bool $padding = false)

Formats a message as a block of text.

string
getSeparatorFullWidth( string $separator = '▬')

No description

applicationTitle( string $name, null|string|int $version = null, null|string $commit = null, array $more = array())

No description

subSection( string $message)

No description

numberedSection( int $i, int $count, string $pre, string $message)

No description

comment($message)

{@inheritdoc}

smallSuccess( string $title, string $message)

No description

info( string $message)

No description

writeln($messages, $type = self::OUTPUT_NORMAL)

{@inheritdoc}

write($messages, $newline = false, $type = self::OUTPUT_NORMAL)

{@inheritdoc}

newLine($count = 1)

{@inheritdoc}

mixed
ask( string $question, null|string $default = null, null $validator = null, null|Closure $sanitizer = null)

No description

Details

in InputAwareInterface at line line 24
setInput( InputInterface $input)

Parameters

InputInterface $input

in InputAwareInterface at line line 29
InputInterface getInput()

Return Value

InputInterface

in OutputAwareInterface at line line 24
setOutput( OutputInterface $output)

Parameters

OutputInterface $output

in OutputAwareInterface at line line 29
OutputInterface getOutput()

Return Value

OutputInterface

at line line 28
setVerbosity($level)

{@inheritdoc}

Parameters

$level

at line line 33
int getVerbosity()

Return Value

int

at line line 38
bool isQuiet()

Return Value

bool

at line line 43
bool isNormal()

Return Value

bool

at line line 48
bool isVerbose()

Return Value

bool

at line line 53
bool isVeryVerbose()

Return Value

bool

at line line 58
bool isDebug()

Return Value

bool

at line line 63
setFormatter( OutputFormatterInterface $formatter)

{@inheritdoc}

Parameters

OutputFormatterInterface $formatter

at line line 68
getFormatter()

{@inheritdoc}

at line line 73
setDecorated($decorated)

{@inheritdoc}

Parameters

$decorated

at line line 78
isDecorated()

{@inheritdoc}

at line line 89
block( string|array $messages, string|null $type = null, string|null $style = null, string $prefix = ' ', bool $padding = false)

Formats a message as a block of text.

Parameters

string|array $messages The message to write in the block
string|null $type The block type (added in [] on first line)
string|null $style The style to apply to the whole block
string $prefix The prefix for the block
bool $padding Whether to add vertical padding

at line line 96
string getSeparatorFullWidth( string $separator = '▬')

Parameters

string $separator

Return Value

string

at line line 104
applicationTitle( string $name, null|string|int $version = null, null|string $commit = null, array $more = array())

Parameters

string $name
null|string|int $version
null|string $commit
array $more

at line line 109
subSection( string $message)

Parameters

string $message

at line line 117
numberedSection( int $i, int $count, string $pre, string $message)

Parameters

int $i
int $count
string $pre
string $message

at line line 122
comment($message)

{@inheritdoc}

Parameters

$message

at line line 128
smallSuccess( string $title, string $message)

Parameters

string $title
string $message

at line line 133
info( string $message)

Parameters

string $message

at line line 138
writeln($messages, $type = self::OUTPUT_NORMAL)

{@inheritdoc}

Parameters

$messages
$type

at line line 143
write($messages, $newline = false, $type = self::OUTPUT_NORMAL)

{@inheritdoc}

Parameters

$messages
$newline
$type

at line line 148
newLine($count = 1)

{@inheritdoc}

Parameters

$count

at line line 158
mixed ask( string $question, null|string $default = null, null $validator = null, null|Closure $sanitizer = null)

Parameters

string $question
null|string $default
null $validator
null|Closure $sanitizer

Return Value

mixed