original_string: protected function getGroupItem( \Aimeos\MShop\Context\Item\Iface $context, $code )
  	{
  		$manager = \Aimeos\MShop::create( $context, 'customer/group' );
  
  		try
  		{
  			$item = $manager->findItem( $code );
  		}
  		catch( \Aimeos\MShop\Exception $e )
  		{
  			$item = $manager->createItem();
  			$item->setLabel( $code );
  			$item->setCode( $code );
  
  			$manager->saveItem( $item );
  		}
  
  		return $item;
  	}
code: protected function getGroupItem( \Aimeos\MShop\Context\Item\Iface $context, $code )
  	{
  		$manager = \Aimeos\MShop::create( $context, 'customer/group' );
  
  		try
  		{
  			$item = $manager->findItem( $code );
  		}
  		catch( \Aimeos\MShop\Exception $e )
  		{
  			$item = $manager->createItem();
  			$item->setLabel( $code );
  			$item->setCode( $code );
  
  			$manager->saveItem( $item );
  		}
  
  		return $item;
  	}
code_tokens: protected function getGroupItem ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context , $ code ) { $ manager = \ Aimeos \ MShop :: create ( $ context , 'customer/group' ) ; try { $ item = $ manager -> findItem ( $ code ) ; } catch ( \ Aimeos \ MShop \ Exception $ e ) { $ item = $ manager -> createItem ( ) ; $ item -> setLabel ( $ code ) ; $ item -> setCode ( $ code ) ; $ manager -> saveItem ( $ item ) ; } return $ item ; }
docstring: Returns the customer group item for the given code
  
  @param \Aimeos\MShop\Context\Item\Iface $context Aimeos context object
  @param string $code Unique customer group code
  @return \Aimeos\MShop\Customer\Item\Group\Iface Aimeos customer group item object
docstring_tokens: Returns the customer group item for the given code