infinito/application/symfony/src/Domain/RightManagement/RightTransformerServiceInterface.php
2019-02-17 14:33:19 +01:00

22 lines
499 B
PHP

<?php
namespace Infinito\Domain\RightManagement;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
/**
* Allows to transform an Requested Right to a Entity Right.
*
* @author kevinfrantz
*/
interface RightTransformerServiceInterface
{
/**
* @param RequestedRightInterface $requestedRight
*
* @return RightInterface
*/
public function transform(RequestedRightInterface $requestedRight): RightInterface;
}