artesaos/defender

View on GitHub
src/Defender/Handlers/ForbiddenHandler.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Artesaos\Defender\Handlers;

use Artesaos\Defender\Exceptions\ForbiddenException;
use Artesaos\Defender\Contracts\ForbiddenHandler as ForbiddenHandlerContract;

class ForbiddenHandler implements ForbiddenHandlerContract
{
    public function handle()
    {
        throw new ForbiddenException;
    }
}