class
Illuminate
/
Console
/
OutputStyle
OutputStyle
Extends
-
Symfony\...\SymfonyStyle
Implements
Properties
private
$output Symfony\...\OutputInterface
The output instance.
Default: null
protected
$newLinesWritten int
The number of trailing new lines written by the last output.
This is initialized as 1 to account for the new line written by the shell after executing a command.
Default: 1
deprecated
protected
$newLineWritten bool
If the last output written wrote a new line.
Default: false
Methods
public
__construct ( Symfony\...\InputInterface $input , Symfony\...\OutputInterface $output ) : void
Create a new Console OutputStyle instance.
Parameters
- $input Symfony\...\InputInterface
- $output Symfony\...\OutputInterface
public
askQuestion ( Symfony\...\Question $question ) : void
{@inheritdoc}
public
write ( $messages , bool $newline , int $options ) : void
{@inheritdoc}
public
writeln ( $messages , int $type ) : void
{@inheritdoc}
public
newLine ( int $count ) : void
{@inheritdoc}
public
newLinesWritten ( ) : void
{@inheritdoc}
deprecated
public
newLineWritten ( ) : void
{@inheritdoc}
protected
trailingNewLineCount ( $messages ) : void
public
isQuiet ( ) : bool
Returns whether verbosity is quiet (-q).
public
isVerbose ( ) : bool
Returns whether verbosity is verbose (-v).
public
isVeryVerbose ( ) : bool
Returns whether verbosity is very verbose (-vv).
public
isDebug ( ) : bool
Returns whether verbosity is debug (-vvv).
public
getOutput ( ) : Symfony\...\OutputInterface
Get the underlying Symfony output implementation.