Files
kupshop/bundles/KupShop/CheckAppBundle/Controller/PackageController.php
2025-08-02 16:30:27 +02:00

24 lines
699 B
PHP

<?php
namespace KupShop\CheckAppBundle\Controller;
use KupShop\AdminBundle\AdminRequiredControllerInterface;
use KupShop\CheckAppBundle\View\PrintLabelView;
use KupShop\KupShopBundle\Routing\AdminRoute;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class PackageController extends AbstractController implements AdminRequiredControllerInterface
{
/**
* @AdminRoute("/checkout-print-label/")
*/
public function printLabelAction(Request $request, PrintLabelView $view): Response
{
$view->setRequest($request);
return $view->getResponse();
}
}