Declaration
MMO\admin\helpers · 1 symbol · generated 5 Oct 2026
Declaration
Declaration.php:22What every key of deploy.json means, and a declaration that says it: every key of every server and target written, at its default when nobody chose it, each one with a comment saying what it does.
- Namespace
MMO\admin\helpers
Index
| PROJECT | key of a project of projects => what it is, in the order written. | |
| ROOT | key of the file => what it is. | |
| SECTIONS | section => [the entity its entries are, what each of their keys is]. | |
| SERVER | key of a server => what it is, in the order written. | |
| TARGET | key of a target => what it is, in the order written. | |
| Complete($data) static | ||
| DefaultValue($class, $key) static | ||
| Document($json) static | Comment every key of the declaration that has no comment: its sections, their entries, and every key of those. | |
| Entry($section) static | ||
| Explain($json, $path, $text) static | Comment the key at $path, when it is there, has no comment yet and has a line of its own. |
Constants5
PROJECT
key of a project of projects => what it is, in the order written.
ROOT
key of the file => what it is.
SECTIONS
section => [the entity its entries are, what each of their keys is].
SERVER
key of a server => what it is, in the order written.
TARGET
key of a target => what it is, in the order written.
Methods5
Complete($data)
staticDeclaration.php:95DefaultValue($class, $key)
staticDeclaration.php:147Document($json)
staticDeclaration.php:118Comment every key of the declaration that has no comment: its sections, their entries, and every key of those.
| $json | JsonEditor | |
| returns | JsonEditor | $json |
Entry($section)
staticDeclaration.php:153Explain($json, $path, $text)
staticDeclaration.php:162Comment the key at $path, when it is there, has no comment yet and has a line of its own.
| $json | JsonEditor | |
| $path | array | |
| $text | string | |
| returns | void |