mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
22 lines
420 B
PHP
22 lines
420 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Authentication\Exception;;
|
|
|
|
use Alchemy\Phrasea\Exception\RuntimeException;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
class AuthenticationException extends RuntimeException
|
|
{
|
|
private $response;
|
|
|
|
public function __construct(Response $response)
|
|
{
|
|
$this->response = $response;
|
|
}
|
|
|
|
public function getResponse()
|
|
{
|
|
return $this->response;
|
|
}
|
|
}
|