protected function getBareContext()
	{
		$ctx = new \Aimeos\MShop\Context\Item\Standard();

		$conf = new \Aimeos\MW\Config\PHPArray( array(), array() );
		$ctx->setConfig( $conf );

		$locale = \Aimeos\MShop::create( $ctx, 'locale' )->createItem();
		$locale->setLanguageId( 'en' );
		$ctx->setLocale( $locale );

		$i18n = new \Aimeos\MW\Translation\None( 'en' );
		$ctx->setI18n( array( 'en' => $i18n ) );

		return $ctx;
	}
protected function getBareContext()
	{
		$ctx = new \Aimeos\MShop\Context\Item\Standard();

		$conf = new \Aimeos\MW\Config\PHPArray( array(), array() );
		$ctx->setConfig( $conf );

		$locale = \Aimeos\MShop::create( $ctx, 'locale' )->createItem();
		$locale->setLanguageId( 'en' );
		$ctx->setLocale( $locale );

		$i18n = new \Aimeos\MW\Translation\None( 'en' );
		$ctx->setI18n( array( 'en' => $i18n ) );

		return $ctx;
	}
protected function getBareContext ( ) { $ ctx = new \ Aimeos \ MShop \ Context \ Item \ Standard ( ) ; $ conf = new \ Aimeos \ MW \ Config \ PHPArray ( array ( ) , array ( ) ) ; $ ctx -> setConfig ( $ conf ) ; $ locale = \ Aimeos \ MShop :: create ( $ ctx , 'locale' ) -> createItem ( ) ; $ locale -> setLanguageId ( 'en' ) ; $ ctx -> setLocale ( $ locale ) ; $ i18n = new \ Aimeos \ MW \ Translation \ None ( 'en' ) ; $ ctx -> setI18n ( array ( 'en' => $ i18n ) ) ; return $ ctx ; }
Returns a bare context object

@return \Aimeos\MShop\Context\Item\Standard Context object containing only the most necessary dependencies
Returns a bare context object