class Compat implements ExtenderInterface

deprecated

This class is used to wrap old bootstrap.php closures (as used in versions up to 0.1.0-beta7) in the new Extender format.

This gives extensions the chance to work with the new API without making any changes, and have some time to convert to the pure usage of extenders.

Methods

__construct($callback)

No description

extend(Container $container, Extension $extension = null)

No description

Details

__construct($callback)

Parameters

$callback

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension