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 ( )
protected

{}

getDatabaseConnection ( InputInterface  $input)
protected

Parse input options decide on a database.

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

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: