Drupal 8  8.0.2
DbCommandBase Class Reference
Inheritance diagram for DbCommandBase:

Protected Member Functions

 configure ()
 getDatabaseConnection (InputInterface $input)

Detailed Description

Base command that abstracts handling of database connection arguments.

Member Function Documentation

configure ( )


getDatabaseConnection ( InputInterface  $input)

Parse input options decide on a database.

\Symfony\Component\Console\Input\InputInterface$inputInput object.

References Database\addConnectionInfo(), Database\convertDbUrlToConnectionInfo(), Database\getConnection(), Database\getConnectionInfo(), Database\removeConnection(), and Drupal\root().

Referenced by DbImportCommand\execute(), and DbDumpCommand\execute().

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following file: