Property | Type | Description | |
---|---|---|---|
$adapter | Phpmig\Adapter\AdapterInterface | ||
$bootstrap | string | ||
$container | ArrayAccess | ||
$migrations | array |
Method | Description | |
---|---|---|
getAdapter ( ) : Phpmig\Adapter\AdapterInterface | Get Adapter | |
getBootstrap ( ) : string | Get bootstrap | |
getContainer ( ) : ArrayAccess | Get container | |
getMigrations ( ) : array | Get migrations | |
setAdapter ( Phpmig\Adapter\AdapterInterface $adapter ) : |
Set adapter | |
setBootstrap ( $bootstrap ) : |
Set bootstrap | |
setContainer ( ArrayAccess $container ) : |
Set container | |
setMigrations ( array $migrations ) : |
Set migrations |
Method | Description | |
---|---|---|
bootstrap ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void | Bootstrap phpmig | |
bootstrapAdapter ( Symfony\Component\Console\Input\InputInterface $input ) : Phpmig\Adapter\AdapterInterface | ||
bootstrapContainer ( ) : ArrayAccess | ||
bootstrapMigrations ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
bootstrapMigrator ( Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
configure ( ) | ||
findBootstrapFile ( string $filename ) : array | string | ||
migrationToClassName ( $migrationName ) | transform create_table_user to CreateTableUser |
protected bootstrapAdapter ( Symfony\Component\Console\Input\InputInterface $input ) : Phpmig\Adapter\AdapterInterface | ||
$input | Symfony\Component\Console\Input\InputInterface | |
return | Phpmig\Adapter\AdapterInterface |
protected bootstrapContainer ( ) : ArrayAccess | ||
return | ArrayAccess | The container |
protected bootstrapMigrations ( 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 bootstrapMigrator ( Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
return | mixed |
public getAdapter ( ) : Phpmig\Adapter\AdapterInterface | ||
return | Phpmig\Adapter\AdapterInterface |
protected migrationToClassName ( $migrationName ) |
public setAdapter ( Phpmig\Adapter\AdapterInterface $adapter ) : |
||
$adapter | Phpmig\Adapter\AdapterInterface | |
return |
public setBootstrap ( $bootstrap ) : |
||
return |
public setContainer ( ArrayAccess $container ) : |
||
$container | ArrayAccess | |
return |
public setMigrations ( array $migrations ) : |
||
$migrations | array | |
return |
protected AdapterInterface,Phpmig\Adapter $adapter | ||
return | Phpmig\Adapter\AdapterInterface |