ProjectConfig ​
- Type
- Class
- Namespace
- craft\mcp\capabilities
- Inherits
- craft\mcp\capabilities\ProjectConfig
- Since
- 5.12.0
Public Methods ​
| Method | Description |
|---|---|
| __construct() | |
| apply() | |
| diff() | |
| get() | |
| rebuild() | |
| status() | |
| write() |
__construct() ​
Arguments ​
$projectConfig$sensitiveValues
apply() ​
Returns ​
array{applied: true, appliedChanges: list<array{added?: array<string,mixed>, removed?: array<string,mixed>, message?: string}>}
diff() ​
Arguments ​
$invert
Returns ​
array{invert: bool, diff: string}
get() ​
Arguments ​
$path$external
Returns ​
array{path: string|null, external: bool, value: mixed}
rebuild() ​
Returns ​
array{rebuilt: true}
status() ​
Arguments ​
$path
Returns ​
array{status: array<string,mixed>}
write() ​
Arguments ​
$force
Returns ​
array{written: true, forced: bool, hadFileWriteIssues: bool}