Page::__construct()

The constructor.

Table of Contents
  1. Description
  2. Example

Description

Page::__construct(?string $path = null, array $lot = []): self;

This method will be called when you instantiate a Page class.

Example

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

Page::__construct()

The constructor.

Page::size()

Gets the file sizes in human readable string format.