◆ __construct()
__construct |
( |
|
$verbose = FALSE | ) |
|
Initalize a Migration object (optionally using verbose output).
- Parameters
-
boolean | $verbose | verbose output (default FALSE) |
◆ announce()
Print the given formatted string (if verbose output is enabled). Output always includes the migration's class name.
- Parameters
-
string | $format,... | printf-style format string and parameters |
◆ description()
Abstract method describing this migration step. This method should be implemented in a migration subclass.
- Returns
- string migration description
◆ down()
Abstract method reverting this migration step. This method should be implemented in a migration subclass.
protected
◆ migrate()
Perform or revert this migration, depending on the indicated direction.
protected
- Parameters
-
string | $direction | migration direction (either 'up' or 'down') |
◆ up()
Abstract method performing this migration step. This method should be implemented in a migration subclass.
protected
◆ write()
Print the given string (if verbose output is enabled).
private
- Parameters
-
◆ $verbose
The documentation for this class was generated from the following file: