laravel / 8 / api / 8.x / illuminate / console / outputstyle.html

OutputStyle

class OutputStyle extends SymfonyStyle (View source)

Methods

void __construct(InputInterface $input, OutputInterface $output)

Create a new Console OutputStyle instance.

bool isQuiet()

Returns whether verbosity is quiet (-q).

bool isVerbose()

Returns whether verbosity is verbose (-v).

bool isVeryVerbose()

Returns whether verbosity is very verbose (-vv).

bool isDebug()

Returns whether verbosity is debug (-vvv).

OutputInterface getOutput()

Get the underlying Symfony output implementation.

Details

void __construct(InputInterface $input, OutputInterface $output)

Create a new Console OutputStyle instance.

Parameters

InputInterface $input
OutputInterface $output

Return Value

void

bool isQuiet()

Returns whether verbosity is quiet (-q).

Return Value

bool

bool isVerbose()

Returns whether verbosity is verbose (-v).

Return Value

bool

bool isVeryVerbose()

Returns whether verbosity is very verbose (-vv).

Return Value

bool

bool isDebug()

Returns whether verbosity is debug (-vvv).

Return Value

bool

OutputInterface getOutput()

Get the underlying Symfony output implementation.

Return Value

OutputInterface

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Console/OutputStyle.html