Documentation

Seed extends Command
in package
Uses DatabaseConnection

Table of Contents

$bufferedStatements  : string
configure()  : void
execute()  : int
executeBufferedStatements()  : mixed
executePHPStatements()  : mixed
executeSQLStatements()  : mixed
importFile()  : mixed
resetDatabase()  : mixed
setDatabaseConnection()  : mixed

Properties

$bufferedStatements

private string $bufferedStatements = ""

Methods

configure()

protected configure() : void
Return values
void

execute()

protected execute(InputInterface $in, OutputInterface $out) : int
Parameters
$in : InputInterface
$out : OutputInterface
Return values
int

executeBufferedStatements()

private executeBufferedStatements(OutputInterface $out) : mixed
Parameters
$out : OutputInterface
Return values
mixed

executePHPStatements()

private executePHPStatements(mixed $filePath) : mixed
Parameters
$filePath : mixed
Return values
mixed

executeSQLStatements()

private executeSQLStatements(mixed $filepath) : mixed
Parameters
$filepath : mixed
Return values
mixed

importFile()

private importFile(mixed $filePath, OutputInterface $out) : mixed
Parameters
$filePath : mixed
$out : OutputInterface
Return values
mixed

resetDatabase()

private resetDatabase(OutputInterface $out) : mixed
Parameters
$out : OutputInterface
Return values
mixed

setDatabaseConnection()

private setDatabaseConnection() : mixed
Return values
mixed

Search results