AbstractMigrator
in package
implements
MigratorInterface
Db SQL migrator abstract class
Tags
Interfaces, Classes, Traits and Enums
- MigratorInterface
- Db SQL migrator interface
Table of Contents
- $db : AbstractAdapter
- Database adapter
- __construct() : mixed
- Constructor
- db() : AbstractAdapter
- Get the DB adapter (alias method)
- getDb() : AbstractAdapter
- Get the DB adapter
Properties
$db
Database adapter
protected
AbstractAdapter
$db
= null
Methods
__construct()
Constructor
public
__construct(AbstractAdapter $db) : mixed
Instantiate the migration object
Parameters
- $db : AbstractAdapter
Return values
mixed —db()
Get the DB adapter (alias method)
public
db() : AbstractAdapter
Return values
AbstractAdapter —getDb()
Get the DB adapter
public
getDb() : AbstractAdapter