PageJsonMigrator
class PageJsonMigrator
Helper for migrating JSON content in page versions, templates and components to a new version
Constants
| CURRENT_FORMAT_VERSION |
|
Methods
__construct(Component $pageVersion)
No description
static bool
isLatestVersion(Component $model)
No description
void
run()
Runs all migrations if necessary and saves the passed page version if changes have been made.
Details
at line 24
__construct(Component $pageVersion)
No description
at line 28
static bool
isLatestVersion(Component $model)
No description
at line 40
void
run()
Runs all migrations if necessary and saves the passed page version if changes have been made.