protected function defineView(Container $di)
    {
        $di->set(
            self::VIEW_FACTORY,
            $di->lazyNew(View\ViewFactory::class)
        );

        $di->set(
            self::VIEW,
            $di->lazyGetCall(
                View\ViewFactory::class,
                'newInstance',
                $di->lazyGet(self::HELPER_LOCATOR),
                $di->lazyValue(self::VIEW_MAP),
                $di->lazyValue(self::VIEW_PATHS),
                $di->lazyValue(self::LAYOUT_MAP),
                $di->lazyValue(self::LAYOUT_PATHS)
            )
        );
    }