$records
$records : array
plugin data
NetCommonsMigration
_invokeCallbacks(string $callback, string $type, array $data = array()) : void
This method will invoke the before/afterAction callbacks, it is good when you need track every action.
string | $callback | Callback name, beforeMigration, beforeAction, afterAction or afterMigration. |
string | $type | Type of action. i.e: create_table, drop_table, etc. Or also can be the direction, for before and after Migration callbacks |
array | $data | Data to send to the callback |