Mecha CMS

Working with folders.

$folder->consent()

Set folder permission.

Folder::create()

Create a folder.

$folder->delete()

Delete a folder or files in a folder.

Folder::exist()

Check the existence of a folder.

$folder->reset()

Alias for delete.

$folder->set()

Alias for create.

Folder::size()

Get total sizes of files contained in a folder.