public __construct( array $packages, string $destination )
$packages
$destination
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
$pathname
Resolve the autoconfig fragment of a package.
null
public synthesize( Composer\Util\Filesystem $filesystem = null ) : array
$filesystem
Synthesize the autoconfig fragments into a single array.
public render( string $synthesized_config = null ) : string
$synthesized_config
Render the synthesized autoconfig into a string.
protected render_config_constructor( array $synthesized ) : string
$synthesized
Render the config-constructor part of the autoconfig.
config-constructor
protected render_config_path( array $synthesized ) : string
Render the config-path part of the autoconfig.
config-path
protected render_filters( array $synthesized ) : string
Render the filters part of the autoconfig.
filters
public write( void )
Write the autoconfig file.
CONFIG_WEIGHT_FRAMEWORK : integer
-100
CONFIG_WEIGHT_MODULE : integer
0
CONFIG_WEIGHT_APP : integer
100
protected $packages : Composer\Package\Package
protected $destination : string
protected $composer_schema : ICanBoogie\Autoconfig\Schema
ICanBoogie\Autoconfig\Schema
protected $icanboogie_schema : ICanBoogie\Autoconfig\Schema
protected $filesystem : Composer\Util\Filesystem
protected $fragments : array
[]
protected $weights : array