Controller/Product/ProductAdminController.php
public function listAction()
    {
        $products = $this->container->get('vespolina.product_manager')->findBy(array());

        return $this->container->get('templating')->renderResponse('VespolinaCommerceBundle:Product:list.html.'.$this->getEngine(), array('products' => $products));
    }
public function listAction()
    {
        $products = $this->container->get('vespolina.product_manager')->findBy(array());

        return $this->container->get('templating')->renderResponse('VespolinaCommerceBundle:Product:list.html.'.$this->getEngine(), array('products' => $products));
    }
public function listAction ( ) { $ products = $ this -> container -> get ( 'vespolina.product_manager' ) -> findBy ( array ( ) ) ; return $ this -> container -> get ( 'templating' ) -> renderResponse ( 'VespolinaCommerceBundle:Product:list.html.' . $ this -> getEngine ( ) , array ( 'products' => $ products ) ) ; }
Show all products
Show all products