Folder::seal()

Gets the folder permissions as an octal value.

Table of Contents
  1. Description
  2. Example

Description

Folder::seal(): ?string;

This method returns the folder’s permissions as an octal value. If the folder does not exist, this method returns null.

Example

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

$seal = $folder->seal(); // Returns `'0644'`

Folder::seal()

Gets the folder permissions as an octal value.

Folder::size()

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