class TopicCommands extends DrushCommands (View source)

Traits

ProcessManagerAwareTrait
LoggerAwareTrait
IO
ConfigAwareTrait

Constants

REQ

OPT

EXIT_SUCCESS

EXIT_FAILURE

Methods

getConfig()

Replaces same method in ConfigAwareTrait in order to provide a DrushConfig as return type. Helps with IDE completion.

__construct()

No description

LoggerInterface
logger()

Returns a logger object.

io()

Override Robo's IO function with our custom style.

printFile(string $file)

Print the contents of a file.

topic($topic_name)

Read detailed documentation on a given topic.

interact(InputInterface $input, OutputInterface $output)

No description

validate(CommandData $commandData)

No description

static Command[]
getAllTopics()

Retrieve all defined topics

Details

DrushConfig getConfig()

Replaces same method in ConfigAwareTrait in order to provide a DrushConfig as return type. Helps with IDE completion.

__construct()

protected LoggerInterface logger()

Returns a logger object.

Return Value

LoggerInterface

protected io()

Override Robo's IO function with our custom style.

protected printFile(string $file)

Print the contents of a file.

Parameters

string $file Full path to a file.

topic($topic_name)

Read detailed documentation on a given topic.

Parameters

$topic_name The name of the topic you wish to view. If omitted, list all topic descriptions (and names in parenthesis).

interact(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output

validate(CommandData $commandData)

Parameters

CommandData $commandData

static Command[] getAllTopics()

Retrieve all defined topics

Return Value

Command[]