original_string: public function showDeliveryAction()
      {
          $em = $this->container->get('doctrine')->getManager();
          $user = $this->container->get('security.token_storage')->getToken()->getUser();
          $addresses = $em->getRepository('EcommerceBundle:Address')
              ->findBy(array(
                      'actor' => $user,
                  ));
  
          return array(
                  'user'      => $user,
                  'addresses' => $addresses
              );
      }
code: public function showDeliveryAction()
      {
          $em = $this->container->get('doctrine')->getManager();
          $user = $this->container->get('security.token_storage')->getToken()->getUser();
          $addresses = $em->getRepository('EcommerceBundle:Address')
              ->findBy(array(
                      'actor' => $user,
                  ));
  
          return array(
                  'user'      => $user,
                  'addresses' => $addresses
              );
      }
code_tokens: public function showDeliveryAction ( ) { $ em = $ this -> container -> get ( 'doctrine' ) -> getManager ( ) ; $ user = $ this -> container -> get ( 'security.token_storage' ) -> getToken ( ) -> getUser ( ) ; $ addresses = $ em -> getRepository ( 'EcommerceBundle:Address' ) -> findBy ( array ( 'actor' => $ user , ) ) ; return array ( 'user' => $ user , 'addresses' => $ addresses ) ; }
docstring: Show delivery addresses
  
  @return Response
  
  @Route("/profile/delivery/")
  @Method({"GET","POST"})
  @Template("EcommerceBundle:Profile:Delivery/show.html.twig")
docstring_tokens: Show delivery addresses