Property | Type | Description | |
---|---|---|---|
$filenameFormat | |||
$logger | |||
$migrationDir |
Method | Description | |
---|---|---|
__construct ( CLIFramework\Logger $logger, $migrationDir ) | ||
createClassTemplate ( $taskName, $time = null ) : ClassTemplate\ClassFile | ||
generate ( $taskName, $time = null ) | ||
generateFilename ( $taskName, $time = null ) | ||
generateWithDiff ( $taskName, $dataSourceId, array $schemas, $time = null ) |
Method | Description | |
---|---|---|
appendQueryStatement ( CodeGen\ClassMethod $method, |
||
getTemplateDirs ( ) | Returns code template directory. |
public __construct ( CLIFramework\Logger $logger, $migrationDir ) | ||
$logger | CLIFramework\Logger |
protected appendQueryStatement ( CodeGen\ClassMethod $method, |
||
$method | CodeGen\ClassMethod | |
$driver | ||
$query | SQLBuilder\ToSqlInterface | |
$args | SQLBuilder\ArgumentArray |
public createClassTemplate ( $taskName, $time = null ) : ClassTemplate\ClassFile | ||
return | ClassTemplate\ClassFile |
public generateWithDiff ( $taskName, $dataSourceId, array $schemas, $time = null ) | ||
$schemas | array |