PHP Class Sylius\Bundle\PromotionBundle\Controller\PromotionCouponController

Author: Paweł Jędrzejewski ([email protected])
Inheritance: extends Sylius\Bundle\ResourceBundle\Controller\ResourceController
Mostra file Open project: sylius/sylius

Public Methods

Method Description
generateAction ( Request $request ) : Response

Protected Methods

Method Description
getGenerator ( ) : Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface

Method Details

generateAction() public method

public generateAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

getGenerator() protected method

protected getGenerator ( ) : Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface
return Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface