src/Config.php
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)
            )
        );
    }
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)
            )
        );
    }
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 ) ) ) ; }
Define Aura\View factories and services

@param Container $di DI Container

@return void

@access public

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