Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Note: You are currently reading the documentation for Bolt 3.0. Looking for the documentation for Bolt 3.2 instead?

Extending » Filesystem Layer » Overview of Bolt's Filesystem

Bolt uses a visualised filesystem layer, built using Flysystem.

Each filesystem is registered with the Filesystem Manager on what are referred to as a "mount point". These mount points include:

Requesting a named, valid, mount point from the Filesystem Manager will return a filesystem.

Inside each filesystem are a group of files and directories, that can be created, read, updated, and deleted, via the mount point's filesystem object.

So the interaction with files & directories generally follows the code path

Filesystem Manager service -> \Bolt\Filesystem\FilesystemInterface mount point object -> \Bolt\Filesystem\Handler\FileInterface or \Bolt\Filesystem\Handler\DirectoryInterface object

For more details on using these, refer to the following sections:

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.