프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$constants | array | These are the constants built upon the name of model we are building | |
$fields | array | Fields of the model |
메소드 | 설명 | |
---|---|---|
__construct ( |
Constructor - initialize and inject the framework | |
buildAndRun ( array $constants, array $fields ) : boolean | The primary initialization for building migrations | |
getMigrationTemplatePath ( ) : string | ||
getTargetFilePath ( ) : string | ||
runMigration ( ) : mixed | ||
saveMigration ( $targetFile, $template ) : mixed |
메소드 | 설명 | |
---|---|---|
buildFields ( ) : string | ||
buildIndexes ( ) : string | ||
buildMigration ( ) : mixed | ||
buildParameters ( $field ) : string | ||
convertFields ( $template ) : mixed | ||
tableDoesNotExist ( ) : boolean |
public __construct ( |
||
$Framework |
public saveMigration ( $targetFile, $template ) : mixed | ||
$targetFile | ||
$template | ||
리턴 | mixed |
protected array $constants | ||
리턴 | array |