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)
        ];
    }