trait IoTrait (View source)

Stores input, output and IO objects for easy access in commands.

Properties

protected InputInterface $input
protected OutputInterface $output
protected DrushStyle $io

Methods

DrushStyle
setIo(InputInterface $input, OutputInterface $output)

No description

DrushStyle
io()

No description

InputInterface
input()

No description

OutputInterface
output()

No description

void
ensureIo()

No description

Details

DrushStyle setIo(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

DrushStyle

DrushStyle io()

No description

Return Value

DrushStyle

protected InputInterface input()

No description

Return Value

InputInterface

protected OutputInterface output()

No description

Return Value

OutputInterface

protected void ensureIo()

No description

Return Value

void