VersionedFolder
MMO\admin\helpers · 1 symbol · generated 27 Oct 2026
VersionedFolder
VersionedFolder.php:16A folder kept as a git repository of its own, every change committed as it is written: the developer layer's inbox on a server (the tickets filed there, InboxStore), apart from the application's data and from its release.
- Namespace
MMO\admin\helpers
Index
| enabled readonly | ||
| folder readonly | ||
| ignore | ||
| commit($message, $author) | Commit everything the folder holds now. | |
| git($args) | ||
| HasGit() static | ||
| init() | Make the folder, and its repository when it has none. | |
| isRepository() | ||
| __construct($folder, $enabled) |
Properties3
enabled
readonly- Type
- bool
folder
readonly- Type
- string
ignore
- Type
- array
Methods6
commit($message, $author)
VersionedFolder.php:54Commit everything the folder holds now.
git($args)
VersionedFolder.php:68HasGit()
staticVersionedFolder.php:23| returns | bool | whether git can be run here |
init()
VersionedFolder.php:36Make the folder, and its repository when it has none.
| returns | bool | whether it is versioned |
isRepository()
VersionedFolder.php:28| returns | bool |