class OutputAdapter implements OutputAdapterInterface, OutputAwareInterface (View source)

Adapt OutputInterface or other output function to the VerbosityThresholdInterface.

Traits

Properties

protected OutputInterface $output from  OutputAwareTrait
protected int[] $verbosityMap

Methods

$this
setOutput(OutputInterface $output)

No description

OutputInterface
output()

No description

OutputInterface
stderr()

No description

OutputInterface
getOutput() deprecated

Backwards compatibility

bool
verbosityMeetsThreshold(int $verbosityThreshold)

No description

writeMessage(string $message)

No description

Details

$this setOutput(OutputInterface $output)

No description

Parameters

OutputInterface $output

Return Value

$this

See also

\Robo\Contract\OutputAwareInterface::setOutput()

protected OutputInterface output()

No description

Return Value

OutputInterface

protected OutputInterface stderr()

No description

Return Value

OutputInterface

protected OutputInterface getOutput() deprecated

deprecated

Backwards compatibility

Return Value

OutputInterface

bool verbosityMeetsThreshold(int $verbosityThreshold)

No description

Parameters

int $verbosityThreshold

Return Value

bool

writeMessage(string $message)

No description

Parameters

string $message