Метод | Описание | |
---|---|---|
down ( stdClass $data ) | Reverts a JSON object from the target to the source version. | |
getSourceVersion ( ) : string | Returns the version of the JSON object that this migration expects. | |
getTargetVersion ( ) : string | Returns the version of the JSON object that this migration upgrades to. | |
up ( stdClass $data ) | Upgrades a JSON object from the source to the target version. |
public down ( stdClass $data ) | ||
$data | stdClass | The JSON object of the package file |
public getSourceVersion ( ) : string | ||
Результат | string | The version string |
public getTargetVersion ( ) : string | ||
Результат | string | The version string |
public up ( stdClass $data ) | ||
$data | stdClass | The JSON object of the package file |