| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class EmptyCallback implements IAuthenticationCallback |
||
| 18 | { |
||
| 19 | private $diactoros; |
||
| 20 | |||
| 21 | public function __construct() |
||
| 22 | { |
||
| 23 | $this->diactoros = new DiactorosFactory(); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function handleFailedProcess(IAuthenticationProcess $authProcess): ResponseInterface |
||
| 27 | { |
||
| 28 | return $this->diactoros->createResponse(new Response()); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function handleSuccessfulProcess(IAuthenticationProcess $authProcess): ResponseInterface |
||
| 34 | } |
||
| 35 | } |
||
| 36 |