<?php

namespace MintyPHP\Service\Access;

interface AuthorizationPolicyInterface
{
    public function supports(string $ability): bool;

    public function authorize(string $ability, array $context = []): AuthorizationDecision;
}
