Piwik\Updates::getMigrations PHP Метод

getMigrations() публичный Метод

Migrations should be defined here, instead of in doUpdate(), since this method is used to display a preview of which migrations and database queries an update will run. If you execute migrations directly in doUpdate(), they won't be displayed to the user.
public getMigrations ( Updater $updater ) : Migration[]
$updater Updater
Результат Piwik\Updater\Migration[]
    public function getMigrations(Updater $updater)
    {
        return $this->getMigrationQueries($updater);
    }