\Init

Init migration

Summary

Methods
Properties
Constants
before()
after()
$description
$migration
$records
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$description

$description : string

Migration description

Type

string

$migration

$migration : array

Actions to be performed

Type

array

$records

$records : array

Records keyed by model name.

Type

array

Methods

before()

before(string  $direction) : boolean

Before migration callback

Parameters

string $direction

Direction of migration process (up or down)

Returns

boolean —

Should process continue

after()

after(string  $direction) : boolean

After migration callback

Parameters

string $direction

Direction of migration process (up or down)

Returns

boolean —

Should process continue