MigrationDiffFilteredOutput
in package
implements
OutputInterface
Uses
BaseMakerMigrationDiffFilteredOuputTrait
Interfaces, Classes, Traits and Enums
- OutputInterface
- OutputInterface is the interface implemented by all Output classes.
Table of Contents
- $buffer : mixed
- $output : mixed
- $previousLineWasRemoved : mixed
- __construct() : mixed
- _write() : mixed
- _writeln() : mixed
- fetch() : string
- getFormatter() : OutputFormatterInterface
- getVerbosity() : int
- isDebug() : bool
- isDecorated() : bool
- isQuiet() : bool
- isVerbose() : bool
- isVeryVerbose() : bool
- setDecorated() : mixed
- Sets the decorated flag.
- setFormatter() : mixed
- setVerbosity() : mixed
- Sets the verbosity of the output.
- write() : mixed
- Writes a message to the output.
- writeln() : mixed
- Writes a message to the output and adds a newline at the end.
- filterMessages() : mixed
Properties
$buffer
private
mixed
$buffer
= ''
$output
private
mixed
$output
$previousLineWasRemoved
private
mixed
$previousLineWasRemoved
= false
Methods
__construct()
public
__construct(OutputInterface $output) : mixed
Parameters
- $output : OutputInterface
Return values
mixed —_write()
public
_write(mixed $messages[, bool $newline = false ], mixed $options) : mixed
Parameters
- $messages : mixed
- $newline : bool = false
- $options : mixed
Return values
mixed —_writeln()
public
_writeln(mixed $messages, int $options) : mixed
Parameters
- $messages : mixed
- $options : int
Return values
mixed —fetch()
public
fetch() : string
Return values
string —getFormatter()
public
getFormatter() : OutputFormatterInterface
Return values
OutputFormatterInterface —getVerbosity()
public
getVerbosity() : int
Return values
int —isDebug()
public
isDebug() : bool
Return values
bool —isDecorated()
public
isDecorated() : bool
Return values
bool —isQuiet()
public
isQuiet() : bool
Return values
bool —isVerbose()
public
isVerbose() : bool
Return values
bool —isVeryVerbose()
public
isVeryVerbose() : bool
Return values
bool —setDecorated()
Sets the decorated flag.
public
setDecorated(mixed $decorated) : mixed
Parameters
- $decorated : mixed
-
Whether to decorate the messages
Return values
mixed —setFormatter()
public
setFormatter(OutputFormatterInterface $formatter) : mixed
Parameters
- $formatter : OutputFormatterInterface
Return values
mixed —setVerbosity()
Sets the verbosity of the output.
public
setVerbosity(mixed $level) : mixed
Parameters
- $level : mixed
-
The level of verbosity (one of the VERBOSITY constants)
Return values
mixed —write()
Writes a message to the output.
public
write(mixed $messages[, mixed $newline = false ], mixed $options) : mixed
Parameters
- $messages : mixed
-
The message as an iterable of strings or a single string
- $newline : mixed = false
-
Whether to add a newline
- $options : mixed
-
A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
Return values
mixed —writeln()
Writes a message to the output and adds a newline at the end.
public
writeln(mixed $messages, mixed $options) : mixed
Parameters
- $messages : mixed
-
The message as an iterable of strings or a single string
- $options : mixed
-
A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
Return values
mixed —filterMessages()
private
filterMessages(mixed $messages, bool $newLine) : mixed
Parameters
- $messages : mixed
- $newLine : bool