class MigrationScaffolding

Class MigrationScaffolding

Methods

__construct(Framework $Framework)

Constructor - initialize and inject the framework

bool
buildAndRun(array $constants, array $fields)

The primary initialization for building migrations

mixed
runMigration()

No description

string
getMigrationTemplatePath()

No description

string
getTargetFilePath()

No description

mixed
saveMigration($targetFile, $template)

No description

Details

at line 30
__construct(Framework $Framework)

Constructor - initialize and inject the framework

Parameters

Framework $Framework

at line 41
bool buildAndRun(array $constants, array $fields)

The primary initialization for building migrations

Parameters

array $constants
array $fields

Return Value

bool Did we make migrations or not?

at line 58
mixed runMigration()

Return Value

mixed

at line 66
string getMigrationTemplatePath()

Return Value

string

at line 74
string getTargetFilePath()

Return Value

string

at line 84
mixed saveMigration($targetFile, $template)

Parameters

$targetFile
$template

Return Value

mixed