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).

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

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