Class AutoconfigGenerator
- ICanBoogie\Autoconfig\AutoconfigGenerator implements ICanBoogie\Autoconfig\Autoconfig
Methods summary
public
__invoke( void )
Search for autoconfig fragments defined by the packages and create the autoconfig file.
protected
resolve_fragments( array $packages
)
: array
Resolve the autoconfig fragments defined by the packages.
protected
resolve_fragment( string $pathname
)
: mixed|null
Resolve the autoconfig fragment of a package.
public
synthesize( Composer\Util\Filesystem $filesystem
= null )
: array
Synthesize the autoconfig fragments into a single array.
public
render( string $synthesized_config
= null )
: string
Render the synthesized autoconfig into a string.
protected
render_config_constructor( array $synthesized
)
: string
Render the config-constructor
part of the autoconfig.
Constants summary
Constants inherited from ICanBoogie\Autoconfig\Autoconfig
APP_PATHS
,
APP_ROOT
,
AUTOCONFIG_FILTERS
,
CONFIG_CONSTRUCTOR
,
CONFIG_PATH
,
CONFIG_WEIGHT
,
CONFIG_WEIGHT_APP
,
CONFIG_WEIGHT_FRAMEWORK
,
CONFIG_WEIGHT_MODULE
,
DEFAULT_APP_ROOT
,
LOCALE_PATH
,
MODULE_PATH
,
ROOT