DbImportCommand
class DbImportCommand extends DbCommandBase (View source)
Provides a command to import the current database from a script.
This script runs on databases exported using one of the database dump commands and imports it into the current database connection.
Methods
configure()
{@inheritdoc}
getDatabaseConnection(InputInterface $input)
Parse input options decide on a database.
from
DbCommandBase
execute(InputInterface $input, OutputInterface $output)
{@inheritdoc}
Details
protected
configure()
{@inheritdoc}
protected Connection
getDatabaseConnection(InputInterface $input)
Parse input options decide on a database.
protected
execute(InputInterface $input, OutputInterface $output)
{@inheritdoc}
protected
runScript(Connection $connection, string $script)
Run the database script.