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