Mecha CMS

Working with pages.

$page->save()

Save the updated page data.

->save($consent = 0600);

Example:

Update page data:

Page::open('path\to\file.page')->set(['title' => 'New Title'])->save();