public function indexAction()
    {
        $em = $this->getDoctrine()->getManager();

        $paymentServiceProviders = $em->getRepository('EcommerceBundle:PaymentServiceProvider')->findAll();

        return array(
            'paymentServiceProviders' => $paymentServiceProviders,
        );
    }
public function indexAction()
    {
        $em = $this->getDoctrine()->getManager();

        $paymentServiceProviders = $em->getRepository('EcommerceBundle:PaymentServiceProvider')->findAll();

        return array(
            'paymentServiceProviders' => $paymentServiceProviders,
        );
    }
public function indexAction ( ) { $ em = $ this -> getDoctrine ( ) -> getManager ( ) ; $ paymentServiceProviders = $ em -> getRepository ( 'EcommerceBundle:PaymentServiceProvider' ) -> findAll ( ) ; return array ( 'paymentServiceProviders' => $ paymentServiceProviders , ) ; }
Lists all PaymentServiceProvider entities.

@Route("/")
@Method("GET")
@Template()
Lists all PaymentServiceProvider entities .