ConfigBuilder
API reference › Foxy › Config › ConfigBuilder
Builds Foxy configuration from Composer’s project and global settings.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
build() static | Build the config of plugin. | ConfigBuilder |
Method details
Section titled “Method details”build()
Section titled “build() ”public static function build(Composer\Composer $composer, array $defaults = [], Composer\IO\IOInterface|null $io = null): Foxy\Config\ConfigBuild the config of plugin.
Parameters
| Parameter | Type | Description |
|---|---|---|
$composer | Composer\ | The composer. |
$defaults | array | The default values. |
$io | Composer\ | The composer input/output. |
Returns
Throws
Seld\JsonLint\ParsingException