PHP Class WellCommerce\Bundle\ProductBundle\Controller\Front\ProductController

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Controller\Front\AbstractFrontController
显示文件 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
indexAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : Response
viewAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : Symfony\Component\HttpFoundation\JsonResponse

Method Details

indexAction() public method

public indexAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : Response
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
return Symfony\Component\HttpFoundation\Response

viewAction() public method

public viewAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : Symfony\Component\HttpFoundation\JsonResponse
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
return Symfony\Component\HttpFoundation\JsonResponse