Folder::URL()

Converts private folder path to public URL.

Table of Contents
  1. Description
  2. Example

Description

Folder::URL(): ?string;

This method converts private folder path to public URL.

Example

$folder = new Folder('.\path\to\folder');

echo $folder->url(); // Returns `'http://127.0.0.1/path/to/folder'`

Class methods are case-insensitive in PHP.

Folder::URL()

Converts private folder path to public URL.

Folder::size()

Gets the total sizes of files contained in the folder in human readable string format.