ICanBoogie/ICanBoogie 3.0.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Autoconfig
    • Binding
    • Core
    • Routing
    • Session

Classes

  • Config
  • FakeAutoloadGenerator
  • Hooks
  • Schema

Class Config

Namespace: ICanBoogie\Autoconfig
Codecoverageignore
Located at Autoconfig/Config.php

Methods summary

public
# __construct( array $packages, string $destination )

Parameters

$packages
$destination
public
# __invoke( )

Search for autoconfig fragments defined by the packages and create the autoconfig file.

Search for autoconfig fragments defined by the packages and create the autoconfig file.

protected array
# resolve_fragments( array $packages )

Resolve the autoconfig fragments defined by the packages.

Resolve the autoconfig fragments defined by the packages.

Parameters

$packages

Returns

array
An array with the resolved fragments and their weights.
protected mixed|null
# resolve_fragment( string $pathname )

Resolve the autoconfig fragment of a package.

Resolve the autoconfig fragment of a package.

Parameters

$pathname
The pathname to the package.

Returns

mixed|null
The autoconfig fragment, or null if the package doesn't define one.
public array
# synthesize( Composer\Util\Filesystem $filesystem = null )

Synthesize the autoconfig fragments into a single array.

Synthesize the autoconfig fragments into a single array.

Parameters

$filesystem

Returns

array
public string
# render( string $synthesized_config = null )

Render the synthesized autoconfig into a string.

Render the synthesized autoconfig into a string.

Parameters

$synthesized_config

Returns

string
protected string
# render_config_constructor( array $synthesized )

Render the config-constructor part of the autoconfig.

Render the config-constructor part of the autoconfig.

Parameters

$synthesized

Returns

string
protected string
# render_config_path( array $synthesized )

Render the config-path part of the autoconfig.

Render the config-path part of the autoconfig.

Parameters

$synthesized

Returns

string
protected string
# render_filters( array $synthesized )

Render the filters part of the autoconfig.

Render the filters part of the autoconfig.

Parameters

$synthesized

Returns

string
public
# write( )

Write the autoconfig file.

Write the autoconfig file.

Constants summary

integer CONFIG_WEIGHT_FRAMEWORK
# -100
integer CONFIG_WEIGHT_MODULE
# 0
integer CONFIG_WEIGHT_APP
# 100

Properties summary

protected Composer\Package\Package $packages
#
protected string $destination
#
protected ICanBoogie\Autoconfig\Schema $composer_schema
#
protected ICanBoogie\Autoconfig\Schema $icanboogie_schema
#
protected Composer\Util\Filesystem $filesystem
#
protected array $fragments
# []
protected array $weights
# []
ICanBoogie/ICanBoogie 3.0.x API documentation generated by ApiGen