controller/jobs/src/Controller/Jobs/Subscription/Process/Renew/Standard.php
protected function addBasketAddresses( \Aimeos\MShop\Context\Item\Iface $context,
		\Aimeos\MShop\Order\Item\Base\Iface $newBasket, array $addresses )
	{
		foreach( $addresses as $type => $orderAddresses )
		{
			foreach( $orderAddresses as $orderAddress ) {
				$newBasket->addAddress( $orderAddress, $type );
			}
		}

		return $newBasket;
	}
protected function addBasketAddresses( \Aimeos\MShop\Context\Item\Iface $context,
		\Aimeos\MShop\Order\Item\Base\Iface $newBasket, array $addresses )
	{
		foreach( $addresses as $type => $orderAddresses )
		{
			foreach( $orderAddresses as $orderAddress ) {
				$newBasket->addAddress( $orderAddress, $type );
			}
		}

		return $newBasket;
	}
protected function addBasketAddresses ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context , \ Aimeos \ MShop \ Order \ Item \ Base \ Iface $ newBasket , array $ addresses ) { foreach ( $ addresses as $ type => $ orderAddresses ) { foreach ( $ orderAddresses as $ orderAddress ) { $ newBasket -> addAddress ( $ orderAddress , $ type ) ; } } return $ newBasket ; }
Adds the given addresses to the basket

@param \Aimeos\MShop\Context\Item\Iface Context object
@param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object to add the addresses to
@param array $addresses Associative list of type as key and address object implementing \Aimeos\MShop\Order\Item\Base\Address\Iface as value
@return \Aimeos\MShop\Order\Item\Base\Iface Order with addresses added
Adds the given addresses to the basket