public function register(Container $container)
    {
        $container['extensions.sections'] = function ($c) {
            return new Sections($c['section.factory'], $c['events']);
        };

        $container['extensions.helpers'] = function ($c) {
            return new Helpers($c['escaper'], $c['options']);
        };

        $container['extensions.walker'] = function ($c) {
            return new Walker($c['command'], $c['escaper'], $c['options']);
        };

        $container['extensions.filters'] = function () {
            return new Filters();
        };

        $container['extensions.aura_html'] = function ($c) {
            return new AuraHtmlExtension(
                $c['aura.html.locator'],
                $c['options']['html_tags_functions']
            );
        };
    }
public function register(Container $container)
    {
        $container['extensions.sections'] = function ($c) {
            return new Sections($c['section.factory'], $c['events']);
        };

        $container['extensions.helpers'] = function ($c) {
            return new Helpers($c['escaper'], $c['options']);
        };

        $container['extensions.walker'] = function ($c) {
            return new Walker($c['command'], $c['escaper'], $c['options']);
        };

        $container['extensions.filters'] = function () {
            return new Filters();
        };

        $container['extensions.aura_html'] = function ($c) {
            return new AuraHtmlExtension(
                $c['aura.html.locator'],
                $c['options']['html_tags_functions']
            );
        };
    }
public function register ( Container $ container ) { $ container [ 'extensions.sections' ] = function ( $ c ) { return new Sections ( $ c [ 'section.factory' ] , $ c [ 'events' ] ) ; } ; $ container [ 'extensions.helpers' ] = function ( $ c ) { return new Helpers ( $ c [ 'escaper' ] , $ c [ 'options' ] ) ; } ; $ container [ 'extensions.walker' ] = function ( $ c ) { return new Walker ( $ c [ 'command' ] , $ c [ 'escaper' ] , $ c [ 'options' ] ) ; } ; $ container [ 'extensions.filters' ] = function ( ) { return new Filters ( ) ; } ; $ container [ 'extensions.aura_html' ] = function ( $ c ) { return new AuraHtmlExtension ( $ c [ 'aura.html.locator' ] , $ c [ 'options' ] [ 'html_tags_functions' ] ) ; } ; }
Register extension services.

@param Container $container
Register extension services .