infinito/application/symfony/src/Domain/SecureManagement/SecureRequestedRightCheckerServiceInterface.php
2019-05-30 16:52:02 +02:00

21 lines
451 B
PHP

<?php
namespace Infinito\Domain\SecureManagement;
use Infinito\Domain\Request\Right\RequestedRightInterface;
/**
* Allows to check if a RequestedRight is valid.
*
* @author kevinfrantz
*/
interface SecureRequestedRightCheckerServiceInterface
{
/**
* @param RequestedRightInterface $requestedRight
*
* @return bool If Permission granted true
*/
public function check(RequestedRightInterface $requestedRight): bool;
}