Files
kupshop/bundles/KupShop/KupShopBundle/Exception/ResponseException.php
2025-08-02 16:30:27 +02:00

28 lines
531 B
PHP

<?php
namespace KupShop\KupShopBundle\Exception;
use Symfony\Component\HttpFoundation\Response;
/**
* @deprecated hack pouze pro stare pridani do kosiku, kdy tam byl exit, ale ten nam rozbijel testy
*/
class ResponseException extends \Exception
{
protected Response $response;
public function __construct($response)
{
parent::__construct();
$this->response = $response;
}
/**
* @retrun Response
*/
public function getResponse()
{
return $this->response;
}
}