/**
  * Display the products of a group
  *
  * @param Group $group
  *
  * @return array
  *
  * @AclAncestor("pim_enrich_product_index")
  * @Template("PimEnrichBundle:Group:_productList.html.twig")
  */
 public function productListAction(Group $group)
 {
     return $this->groupManager->getProductList($group, static::MAX_PRODUCTS);
 }
 /**
  * Returns an array containing a limited number of product groups, and the total number of products
  *
  * @param Group   $group
  * @param integer $maxResults
  *
  * @return array
  */
 public function getProductList(Group $group, $maxResults)
 {
     return $this->baseGroupManager->getProductList($group, $maxResults);
 }