Folder::_seal()

Gets the folder permissions as numeric mode.

Table of Contents
  1. Description
  2. Example

Description

Folder::_seal(): ?int;

This method returns the folder’s permissions as a numeric mode. If the folder does not exist, this method returns null.

Example

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

$seal = $folder->_seal(); // Returns `33188`
$permissions = substr(sprintf('%o', $folder->_seal()), -4); // Returns `'0644'`

Folder::_seal()

Gets the folder permissions as numeric mode.

Folder::size()

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