Page::__unset()

Deletes a page property via property access.

Table of Contents
  1. Description
  2. Example

Description

Page::__unset(string $key): void;

This method will be called when you try to unset a property that doesn’t exist in the class.

Example

$page = new Page('.\lot\page\article.page');

unset($page->title);

echo $page->title; // Returns `null`

Page::__unset()

Deletes a page property via property access.

Page::size()

Gets the file sizes in human readable string format.