Page::URL()

Gets the page URL.

Table of Contents
  1. Description
  2. Example

Description

Page::URL(): ?string;

This method returns the page URL.

Example

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

echo $page->url(); // Returns `'http://127.0.0.1/article/lorem-ipsum'`

Class methods are case-insensitive in PHP.

Page::URL()

Gets the page URL.

Page::size()

Gets the file sizes in human readable string format.