src/Config.php
protected function defineHelpers(Container $di)
    {
        $di->set(
            self::HELPER_FACTORY,
            $di->lazyNew(Html\HelperLocatorFactory::class)
        );

        $di->set(
            self::HELPER_LOCATOR,
            $di->lazyGetCall(self::HELPER_FACTORY, 'newInstance')
        );

        $di->set(
            self::ESCAPER_FACTORY,
            $di->lazyNew(Html\EscaperFactory::class)
        );

        $di->set(
            self::ESCAPER,
            $di->lazyGetCall(self::ESCAPER_FACTORY, 'newInstance')
        );

        $di->params[Html\Helper\AbstractHelper::class] = [
            'escaper' => $di->lazyGet(self::ESCAPER)
        ];
    }
protected function defineHelpers(Container $di)
    {
        $di->set(
            self::HELPER_FACTORY,
            $di->lazyNew(Html\HelperLocatorFactory::class)
        );

        $di->set(
            self::HELPER_LOCATOR,
            $di->lazyGetCall(self::HELPER_FACTORY, 'newInstance')
        );

        $di->set(
            self::ESCAPER_FACTORY,
            $di->lazyNew(Html\EscaperFactory::class)
        );

        $di->set(
            self::ESCAPER,
            $di->lazyGetCall(self::ESCAPER_FACTORY, 'newInstance')
        );

        $di->params[Html\Helper\AbstractHelper::class] = [
            'escaper' => $di->lazyGet(self::ESCAPER)
        ];
    }
protected function defineHelpers ( Container $ di ) { $ di -> set ( self :: HELPER_FACTORY , $ di -> lazyNew ( Html \ HelperLocatorFactory :: class ) ) ; $ di -> set ( self :: HELPER_LOCATOR , $ di -> lazyGetCall ( self :: HELPER_FACTORY , 'newInstance' ) ) ; $ di -> set ( self :: ESCAPER_FACTORY , $ di -> lazyNew ( Html \ EscaperFactory :: class ) ) ; $ di -> set ( self :: ESCAPER , $ di -> lazyGetCall ( self :: ESCAPER_FACTORY , 'newInstance' ) ) ; $ di -> params [ Html \ Helper \ AbstractHelper :: class ] = [ 'escaper' => $ di -> lazyGet ( self :: ESCAPER ) ] ; }
Define Aura\Html factories and services

@param Container $di DI Container

@return void

@access public

@SuppressWarnings(PHPMD.ShortVariable)
Define Aura \ Html factories and services