28 lines
531 B
PHP
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;
|
|
}
|
|
}
|