Method | Description | |
---|---|---|
insertData ( string $dbType ) | Insert the database data. |
Method | Description | |
---|---|---|
applyStatements ( array $statements ) | Applies the given SQL $statements to the database in use. | |
configure ( ) | ||
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
getDatabaseHandler ( ) : |
Returns the database handler from the service container. | |
getInitialData ( ) : array | Returns the initial database data. | |
getPostInsertStatements ( string $dbType ) : string[] | Returns statements to be executed after data insert. | |
getSchemaStatements ( string $dbType ) : string[] | Returns the database schema as an array of SQL statements. |
protected applyStatements ( array $statements ) | ||
$statements | array |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected getDatabaseHandler ( ) : |
||
return |
protected getInitialData ( ) : array | ||
return | array |
protected getPostInsertStatements ( string $dbType ) : string[] | ||
$dbType | string | Name of Database type (mysql, sqlite, pgsql, ..) |
return | string[] |
protected getSchemaStatements ( string $dbType ) : string[] | ||
$dbType | string | Name of Database type (mysql, sqlite, pgsql, ..) |
return | string[] |
public insertData ( string $dbType ) | ||
$dbType | string | Name of Database type (mysql, sqlite, pgsql, ..) |