class DbCommandBase extends Command (View source)

Base command that abstracts handling of database connection arguments.

Methods

configure()

{@inheritdoc}

getDatabaseConnection(InputInterface $input)

Parse input options decide on a database.

Details

protected configure()

{@inheritdoc}

protected Connection getDatabaseConnection(InputInterface $input)

Parse input options decide on a database.

Parameters

InputInterface $input

Input object.

Return Value

Connection