Elcodi\Admin\CouponBundle\Controller\CouponController::deleteAction PHP 메소드

deleteAction() 공개 메소드

Delete entity
public deleteAction ( Request $request, mixed $entity, string $redirectPath = null ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request Request
$entity mixed Entity to delete
$redirectPath string Redirect path
리턴 Symfony\Component\HttpFoundation\RedirectResponse Redirect response
    public function deleteAction(Request $request, $entity, $redirectPath = null)
    {
        return parent::deleteAction($request, $entity, $this->generateUrl('admin_coupon_list'));
    }